Class UpdateLongTermPricingRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.snowball.model.SnowballRequest
-
- software.amazon.awssdk.services.snowball.model.UpdateLongTermPricingRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateLongTermPricingRequest.Builder,UpdateLongTermPricingRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateLongTermPricingRequest extends SnowballRequest implements ToCopyableBuilder<UpdateLongTermPricingRequest.Builder,UpdateLongTermPricingRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateLongTermPricingRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateLongTermPricingRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisLongTermPricingAutoRenew()If set totrue, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.StringlongTermPricingId()The ID of the long-term pricing type for the device.StringreplacementJob()Specifies that a device that is ordered with long-term pricing should be replaced with a new device.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateLongTermPricingRequest.Builder>serializableBuilderClass()UpdateLongTermPricingRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
longTermPricingId
public final String longTermPricingId()
The ID of the long-term pricing type for the device.
- Returns:
- The ID of the long-term pricing type for the device.
-
replacementJob
public final String replacementJob()
Specifies that a device that is ordered with long-term pricing should be replaced with a new device.
- Returns:
- Specifies that a device that is ordered with long-term pricing should be replaced with a new device.
-
isLongTermPricingAutoRenew
public final Boolean isLongTermPricingAutoRenew()
If set to
true, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.- Returns:
- If set to
true, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.
-
toBuilder
public UpdateLongTermPricingRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateLongTermPricingRequest.Builder,UpdateLongTermPricingRequest>- Specified by:
toBuilderin classSnowballRequest
-
builder
public static UpdateLongTermPricingRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateLongTermPricingRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-