@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subscription extends Object implements Serializable, Cloneable, StructuredPojo
Information about the Shield Advanced subscription for an account.
Constructor and Description |
---|
Subscription() |
Modifier and Type | Method and Description |
---|---|
Subscription |
clone() |
boolean |
equals(Object obj) |
String |
getAutoRenew()
If
ENABLED , the subscription will be automatically renewed at the end of the existing subscription
period. |
Date |
getEndTime()
The date and time your subscription will end.
|
List<Limit> |
getLimits()
Specifies how many protections of a given type you can create.
|
String |
getProactiveEngagementStatus()
If
ENABLED , the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support. |
Date |
getStartTime()
The start time of the subscription, in Unix time in seconds.
|
String |
getSubscriptionArn()
The ARN (Amazon Resource Name) of the subscription.
|
SubscriptionLimits |
getSubscriptionLimits()
Limits settings for your subscription.
|
Long |
getTimeCommitmentInSeconds()
The length, in seconds, of the Shield Advanced subscription for the account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoRenew(String autoRenew)
If
ENABLED , the subscription will be automatically renewed at the end of the existing subscription
period. |
void |
setEndTime(Date endTime)
The date and time your subscription will end.
|
void |
setLimits(Collection<Limit> limits)
Specifies how many protections of a given type you can create.
|
void |
setProactiveEngagementStatus(String proactiveEngagementStatus)
If
ENABLED , the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support. |
void |
setStartTime(Date startTime)
The start time of the subscription, in Unix time in seconds.
|
void |
setSubscriptionArn(String subscriptionArn)
The ARN (Amazon Resource Name) of the subscription.
|
void |
setSubscriptionLimits(SubscriptionLimits subscriptionLimits)
Limits settings for your subscription.
|
void |
setTimeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the Shield Advanced subscription for the account.
|
String |
toString()
Returns a string representation of this object.
|
Subscription |
withAutoRenew(AutoRenew autoRenew)
If
ENABLED , the subscription will be automatically renewed at the end of the existing subscription
period. |
Subscription |
withAutoRenew(String autoRenew)
If
ENABLED , the subscription will be automatically renewed at the end of the existing subscription
period. |
Subscription |
withEndTime(Date endTime)
The date and time your subscription will end.
|
Subscription |
withLimits(Collection<Limit> limits)
Specifies how many protections of a given type you can create.
|
Subscription |
withLimits(Limit... limits)
Specifies how many protections of a given type you can create.
|
Subscription |
withProactiveEngagementStatus(ProactiveEngagementStatus proactiveEngagementStatus)
If
ENABLED , the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support. |
Subscription |
withProactiveEngagementStatus(String proactiveEngagementStatus)
If
ENABLED , the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support. |
Subscription |
withStartTime(Date startTime)
The start time of the subscription, in Unix time in seconds.
|
Subscription |
withSubscriptionArn(String subscriptionArn)
The ARN (Amazon Resource Name) of the subscription.
|
Subscription |
withSubscriptionLimits(SubscriptionLimits subscriptionLimits)
Limits settings for your subscription.
|
Subscription |
withTimeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the Shield Advanced subscription for the account.
|
public void setStartTime(Date startTime)
The start time of the subscription, in Unix time in seconds.
startTime
- The start time of the subscription, in Unix time in seconds.public Date getStartTime()
The start time of the subscription, in Unix time in seconds.
public Subscription withStartTime(Date startTime)
The start time of the subscription, in Unix time in seconds.
startTime
- The start time of the subscription, in Unix time in seconds.public void setEndTime(Date endTime)
The date and time your subscription will end.
endTime
- The date and time your subscription will end.public Date getEndTime()
The date and time your subscription will end.
public Subscription withEndTime(Date endTime)
The date and time your subscription will end.
endTime
- The date and time your subscription will end.public void setTimeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the Shield Advanced subscription for the account.
timeCommitmentInSeconds
- The length, in seconds, of the Shield Advanced subscription for the account.public Long getTimeCommitmentInSeconds()
The length, in seconds, of the Shield Advanced subscription for the account.
public Subscription withTimeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the Shield Advanced subscription for the account.
timeCommitmentInSeconds
- The length, in seconds, of the Shield Advanced subscription for the account.public void setAutoRenew(String autoRenew)
If ENABLED
, the subscription will be automatically renewed at the end of the existing subscription
period.
When you initally create a subscription, AutoRenew
is set to ENABLED
. You can change
this by submitting an UpdateSubscription
request. If the UpdateSubscription
request
does not included a value for AutoRenew
, the existing value for AutoRenew
remains
unchanged.
autoRenew
- If ENABLED
, the subscription will be automatically renewed at the end of the existing
subscription period.
When you initally create a subscription, AutoRenew
is set to ENABLED
. You can
change this by submitting an UpdateSubscription
request. If the
UpdateSubscription
request does not included a value for AutoRenew
, the existing
value for AutoRenew
remains unchanged.
AutoRenew
public String getAutoRenew()
If ENABLED
, the subscription will be automatically renewed at the end of the existing subscription
period.
When you initally create a subscription, AutoRenew
is set to ENABLED
. You can change
this by submitting an UpdateSubscription
request. If the UpdateSubscription
request
does not included a value for AutoRenew
, the existing value for AutoRenew
remains
unchanged.
ENABLED
, the subscription will be automatically renewed at the end of the existing
subscription period.
When you initally create a subscription, AutoRenew
is set to ENABLED
. You can
change this by submitting an UpdateSubscription
request. If the
UpdateSubscription
request does not included a value for AutoRenew
, the
existing value for AutoRenew
remains unchanged.
AutoRenew
public Subscription withAutoRenew(String autoRenew)
If ENABLED
, the subscription will be automatically renewed at the end of the existing subscription
period.
When you initally create a subscription, AutoRenew
is set to ENABLED
. You can change
this by submitting an UpdateSubscription
request. If the UpdateSubscription
request
does not included a value for AutoRenew
, the existing value for AutoRenew
remains
unchanged.
autoRenew
- If ENABLED
, the subscription will be automatically renewed at the end of the existing
subscription period.
When you initally create a subscription, AutoRenew
is set to ENABLED
. You can
change this by submitting an UpdateSubscription
request. If the
UpdateSubscription
request does not included a value for AutoRenew
, the existing
value for AutoRenew
remains unchanged.
AutoRenew
public Subscription withAutoRenew(AutoRenew autoRenew)
If ENABLED
, the subscription will be automatically renewed at the end of the existing subscription
period.
When you initally create a subscription, AutoRenew
is set to ENABLED
. You can change
this by submitting an UpdateSubscription
request. If the UpdateSubscription
request
does not included a value for AutoRenew
, the existing value for AutoRenew
remains
unchanged.
autoRenew
- If ENABLED
, the subscription will be automatically renewed at the end of the existing
subscription period.
When you initally create a subscription, AutoRenew
is set to ENABLED
. You can
change this by submitting an UpdateSubscription
request. If the
UpdateSubscription
request does not included a value for AutoRenew
, the existing
value for AutoRenew
remains unchanged.
AutoRenew
public List<Limit> getLimits()
Specifies how many protections of a given type you can create.
public void setLimits(Collection<Limit> limits)
Specifies how many protections of a given type you can create.
limits
- Specifies how many protections of a given type you can create.public Subscription withLimits(Limit... limits)
Specifies how many protections of a given type you can create.
NOTE: This method appends the values to the existing list (if any). Use
setLimits(java.util.Collection)
or withLimits(java.util.Collection)
if you want to override the
existing values.
limits
- Specifies how many protections of a given type you can create.public Subscription withLimits(Collection<Limit> limits)
Specifies how many protections of a given type you can create.
limits
- Specifies how many protections of a given type you can create.public void setProactiveEngagementStatus(String proactiveEngagementStatus)
If ENABLED
, the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status changes
to ENABLED
when your request is fully processed.
If DISABLED
, the SRT will not proactively notify contacts about escalations or to initiate proactive
customer support.
proactiveEngagementStatus
- If ENABLED
, the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status
changes to ENABLED
when your request is fully processed.
If DISABLED
, the SRT will not proactively notify contacts about escalations or to initiate
proactive customer support.
ProactiveEngagementStatus
public String getProactiveEngagementStatus()
If ENABLED
, the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status changes
to ENABLED
when your request is fully processed.
If DISABLED
, the SRT will not proactively notify contacts about escalations or to initiate proactive
customer support.
ENABLED
, the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status
changes to ENABLED
when your request is fully processed.
If DISABLED
, the SRT will not proactively notify contacts about escalations or to initiate
proactive customer support.
ProactiveEngagementStatus
public Subscription withProactiveEngagementStatus(String proactiveEngagementStatus)
If ENABLED
, the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status changes
to ENABLED
when your request is fully processed.
If DISABLED
, the SRT will not proactively notify contacts about escalations or to initiate proactive
customer support.
proactiveEngagementStatus
- If ENABLED
, the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status
changes to ENABLED
when your request is fully processed.
If DISABLED
, the SRT will not proactively notify contacts about escalations or to initiate
proactive customer support.
ProactiveEngagementStatus
public Subscription withProactiveEngagementStatus(ProactiveEngagementStatus proactiveEngagementStatus)
If ENABLED
, the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status changes
to ENABLED
when your request is fully processed.
If DISABLED
, the SRT will not proactively notify contacts about escalations or to initiate proactive
customer support.
proactiveEngagementStatus
- If ENABLED
, the Shield Response Team (SRT) will use email and phone to notify contacts about
escalations to the SRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status
changes to ENABLED
when your request is fully processed.
If DISABLED
, the SRT will not proactively notify contacts about escalations or to initiate
proactive customer support.
ProactiveEngagementStatus
public void setSubscriptionLimits(SubscriptionLimits subscriptionLimits)
Limits settings for your subscription.
subscriptionLimits
- Limits settings for your subscription.public SubscriptionLimits getSubscriptionLimits()
Limits settings for your subscription.
public Subscription withSubscriptionLimits(SubscriptionLimits subscriptionLimits)
Limits settings for your subscription.
subscriptionLimits
- Limits settings for your subscription.public void setSubscriptionArn(String subscriptionArn)
The ARN (Amazon Resource Name) of the subscription.
subscriptionArn
- The ARN (Amazon Resource Name) of the subscription.public String getSubscriptionArn()
The ARN (Amazon Resource Name) of the subscription.
public Subscription withSubscriptionArn(String subscriptionArn)
The ARN (Amazon Resource Name) of the subscription.
subscriptionArn
- The ARN (Amazon Resource Name) of the subscription.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.