@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLongTermPricingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLongTermPricingRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLongTermPricingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getIsLongTermPricingAutoRenew()
Specifies whether the current long-term pricing type for the device should be renewed.
|
String |
getLongTermPricingType()
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
|
String |
getSnowballType()
The type of Snow Family devices to use for the long-term pricing job.
|
int |
hashCode() |
Boolean |
isLongTermPricingAutoRenew()
Specifies whether the current long-term pricing type for the device should be renewed.
|
void |
setIsLongTermPricingAutoRenew(Boolean isLongTermPricingAutoRenew)
Specifies whether the current long-term pricing type for the device should be renewed.
|
void |
setLongTermPricingType(String longTermPricingType)
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
|
void |
setSnowballType(String snowballType)
The type of Snow Family devices to use for the long-term pricing job.
|
String |
toString()
Returns a string representation of this object.
|
CreateLongTermPricingRequest |
withIsLongTermPricingAutoRenew(Boolean isLongTermPricingAutoRenew)
Specifies whether the current long-term pricing type for the device should be renewed.
|
CreateLongTermPricingRequest |
withLongTermPricingType(LongTermPricingType longTermPricingType)
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
|
CreateLongTermPricingRequest |
withLongTermPricingType(String longTermPricingType)
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
|
CreateLongTermPricingRequest |
withSnowballType(SnowballType snowballType)
The type of Snow Family devices to use for the long-term pricing job.
|
CreateLongTermPricingRequest |
withSnowballType(String snowballType)
The type of Snow Family devices to use for the long-term pricing job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLongTermPricingType(String longTermPricingType)
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
longTermPricingType
- The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.LongTermPricingType
public String getLongTermPricingType()
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
LongTermPricingType
public CreateLongTermPricingRequest withLongTermPricingType(String longTermPricingType)
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
longTermPricingType
- The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.LongTermPricingType
public CreateLongTermPricingRequest withLongTermPricingType(LongTermPricingType longTermPricingType)
The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.
longTermPricingType
- The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.LongTermPricingType
public void setIsLongTermPricingAutoRenew(Boolean isLongTermPricingAutoRenew)
Specifies whether the current long-term pricing type for the device should be renewed.
isLongTermPricingAutoRenew
- Specifies whether the current long-term pricing type for the device should be renewed.public Boolean getIsLongTermPricingAutoRenew()
Specifies whether the current long-term pricing type for the device should be renewed.
public CreateLongTermPricingRequest withIsLongTermPricingAutoRenew(Boolean isLongTermPricingAutoRenew)
Specifies whether the current long-term pricing type for the device should be renewed.
isLongTermPricingAutoRenew
- Specifies whether the current long-term pricing type for the device should be renewed.public Boolean isLongTermPricingAutoRenew()
Specifies whether the current long-term pricing type for the device should be renewed.
public void setSnowballType(String snowballType)
The type of Snow Family devices to use for the long-term pricing job.
snowballType
- The type of Snow Family devices to use for the long-term pricing job.SnowballType
public String getSnowballType()
The type of Snow Family devices to use for the long-term pricing job.
SnowballType
public CreateLongTermPricingRequest withSnowballType(String snowballType)
The type of Snow Family devices to use for the long-term pricing job.
snowballType
- The type of Snow Family devices to use for the long-term pricing job.SnowballType
public CreateLongTermPricingRequest withSnowballType(SnowballType snowballType)
The type of Snow Family devices to use for the long-term pricing job.
snowballType
- The type of Snow Family devices to use for the long-term pricing job.SnowballType
public String toString()
toString
in class Object
Object.toString()
public CreateLongTermPricingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()