@Generated(value="software.amazon.awssdk:codegen") public final class UpdateSubscriptionRequest extends ShieldRequest implements ToCopyableBuilder<UpdateSubscriptionRequest.Builder,UpdateSubscriptionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateSubscriptionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
AutoRenew |
autoRenew()
When you initally create a subscription,
AutoRenew is set to ENABLED. |
String |
autoRenewAsString()
When you initally create a subscription,
AutoRenew is set to ENABLED. |
static UpdateSubscriptionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateSubscriptionRequest.Builder> |
serializableBuilderClass() |
UpdateSubscriptionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AutoRenew autoRenew()
When you initally create a subscription, AutoRenew is set to ENABLED. If
ENABLED, the subscription will be automatically renewed at the end of the existing subscription
period. 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.
If the service returns an enum value that is not available in the current SDK version, autoRenew will
return AutoRenew.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
autoRenewAsString().
AutoRenew is set to ENABLED. If
ENABLED, the subscription will be automatically renewed at the end of the existing
subscription period. 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.AutoRenewpublic final String autoRenewAsString()
When you initally create a subscription, AutoRenew is set to ENABLED. If
ENABLED, the subscription will be automatically renewed at the end of the existing subscription
period. 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.
If the service returns an enum value that is not available in the current SDK version, autoRenew will
return AutoRenew.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
autoRenewAsString().
AutoRenew is set to ENABLED. If
ENABLED, the subscription will be automatically renewed at the end of the existing
subscription period. 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.AutoRenewpublic UpdateSubscriptionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateSubscriptionRequest.Builder,UpdateSubscriptionRequest>toBuilder in class ShieldRequestpublic static UpdateSubscriptionRequest.Builder builder()
public static Class<? extends UpdateSubscriptionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.