@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLongTermPricingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateLongTermPricingRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateLongTermPricingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getIsLongTermPricingAutoRenew()
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. |
String |
getLongTermPricingId()
The ID of the long term pricing type for the device.
|
String |
getReplacementJob()
Specifies that a device that is ordered with long term pricing should be replaced with a new device.
|
int |
hashCode() |
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. |
void |
setIsLongTermPricingAutoRenew(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. |
void |
setLongTermPricingId(String longTermPricingId)
The ID of the long term pricing type for the device.
|
void |
setReplacementJob(String replacementJob)
Specifies that a device that is ordered with long term pricing should be replaced with a new device.
|
String |
toString()
Returns a string representation of this object.
|
UpdateLongTermPricingRequest |
withIsLongTermPricingAutoRenew(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. |
UpdateLongTermPricingRequest |
withLongTermPricingId(String longTermPricingId)
The ID of the long term pricing type for the device.
|
UpdateLongTermPricingRequest |
withReplacementJob(String replacementJob)
Specifies that a device that is ordered with long term pricing should be replaced with a new device.
|
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 setLongTermPricingId(String longTermPricingId)
The ID of the long term pricing type for the device.
longTermPricingId
- The ID of the long term pricing type for the device.public String getLongTermPricingId()
The ID of the long term pricing type for the device.
public UpdateLongTermPricingRequest withLongTermPricingId(String longTermPricingId)
The ID of the long term pricing type for the device.
longTermPricingId
- The ID of the long term pricing type for the device.public void setReplacementJob(String replacementJob)
Specifies that a device that is ordered with long term pricing should be replaced with a new device.
replacementJob
- Specifies that a device that is ordered with long term pricing should be replaced with a new device.public String getReplacementJob()
Specifies that a device that is ordered with long term pricing should be replaced with a new device.
public UpdateLongTermPricingRequest withReplacementJob(String replacementJob)
Specifies that a device that is ordered with long term pricing should be replaced with a new device.
replacementJob
- Specifies that a device that is ordered with long term pricing should be replaced with a new device.public void setIsLongTermPricingAutoRenew(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.
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.public Boolean getIsLongTermPricingAutoRenew()
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.
true
, specifies that the current long term pricing type for the device should be
automatically renewed before the long term pricing contract expires.public UpdateLongTermPricingRequest withIsLongTermPricingAutoRenew(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.
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.public 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.
true
, specifies that the current long term pricing type for the device should be
automatically renewed before the long term pricing contract expires.public String toString()
toString
in class Object
Object.toString()
public UpdateLongTermPricingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()