Class CreateLongTermPricingRequest
- 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.CreateLongTermPricingRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateLongTermPricingRequest.Builder,CreateLongTermPricingRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateLongTermPricingRequest extends SnowballRequest implements ToCopyableBuilder<CreateLongTermPricingRequest.Builder,CreateLongTermPricingRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateLongTermPricingRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateLongTermPricingRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisLongTermPricingAutoRenew()Specifies whether the current long-term pricing type for the device should be renewed.LongTermPricingTypelongTermPricingType()The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.StringlongTermPricingTypeAsString()The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateLongTermPricingRequest.Builder>serializableBuilderClass()SnowballTypesnowballType()The type of Snow Family devices to use for the long-term pricing job.StringsnowballTypeAsString()The type of Snow Family devices to use for the long-term pricing job.CreateLongTermPricingRequest.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
-
longTermPricingType
public final LongTermPricingType longTermPricingType()
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
If the service returns an enum value that is not available in the current SDK version,
longTermPricingTypewill returnLongTermPricingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlongTermPricingTypeAsString().- Returns:
- The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
- See Also:
LongTermPricingType
-
longTermPricingTypeAsString
public final String longTermPricingTypeAsString()
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
If the service returns an enum value that is not available in the current SDK version,
longTermPricingTypewill returnLongTermPricingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlongTermPricingTypeAsString().- Returns:
- The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
- See Also:
LongTermPricingType
-
isLongTermPricingAutoRenew
public final Boolean isLongTermPricingAutoRenew()
Specifies whether the current long-term pricing type for the device should be renewed.
- Returns:
- Specifies whether the current long-term pricing type for the device should be renewed.
-
snowballType
public final SnowballType snowballType()
The type of Snow Family devices to use for the long-term pricing job.
If the service returns an enum value that is not available in the current SDK version,
snowballTypewill returnSnowballType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballTypeAsString().- Returns:
- The type of Snow Family devices to use for the long-term pricing job.
- See Also:
SnowballType
-
snowballTypeAsString
public final String snowballTypeAsString()
The type of Snow Family devices to use for the long-term pricing job.
If the service returns an enum value that is not available in the current SDK version,
snowballTypewill returnSnowballType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballTypeAsString().- Returns:
- The type of Snow Family devices to use for the long-term pricing job.
- See Also:
SnowballType
-
toBuilder
public CreateLongTermPricingRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateLongTermPricingRequest.Builder,CreateLongTermPricingRequest>- Specified by:
toBuilderin classSnowballRequest
-
builder
public static CreateLongTermPricingRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateLongTermPricingRequest.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
-
-