@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subscription extends Object implements Serializable, Cloneable, StructuredPojo
Information about the AWS Shield Advanced subscription for an account.
Constructor and Description |
---|
Subscription() |
Modifier and Type | Method and Description |
---|---|
Subscription |
clone() |
boolean |
equals(Object obj) |
Date |
getStartTime()
The start time of the subscription, in the format "2016-12-16T13:50Z".
|
Long |
getTimeCommitmentInSeconds()
The length, in seconds, of the AWS Shield Advanced subscription for the account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStartTime(Date startTime)
The start time of the subscription, in the format "2016-12-16T13:50Z".
|
void |
setTimeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the AWS Shield Advanced subscription for the account.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Subscription |
withStartTime(Date startTime)
The start time of the subscription, in the format "2016-12-16T13:50Z".
|
Subscription |
withTimeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the AWS Shield Advanced subscription for the account.
|
public void setStartTime(Date startTime)
The start time of the subscription, in the format "2016-12-16T13:50Z".
startTime
- The start time of the subscription, in the format "2016-12-16T13:50Z".public Date getStartTime()
The start time of the subscription, in the format "2016-12-16T13:50Z".
public Subscription withStartTime(Date startTime)
The start time of the subscription, in the format "2016-12-16T13:50Z".
startTime
- The start time of the subscription, in the format "2016-12-16T13:50Z".public void setTimeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the AWS Shield Advanced subscription for the account.
timeCommitmentInSeconds
- The length, in seconds, of the AWS Shield Advanced subscription for the account.public Long getTimeCommitmentInSeconds()
The length, in seconds, of the AWS Shield Advanced subscription for the account.
public Subscription withTimeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the AWS Shield Advanced subscription for the account.
timeCommitmentInSeconds
- The length, in seconds, of the AWS Shield Advanced subscription for the account.public String toString()
toString
in class Object
Object.toString()
public Subscription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.