@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfirmProductInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ConfirmProductInstanceRequest>
Contains the parameters for ConfirmProductInstance.
NOOP
Constructor and Description |
---|
ConfirmProductInstanceRequest()
Default constructor for ConfirmProductInstanceRequest object.
|
ConfirmProductInstanceRequest(String productCode,
String instanceId)
Constructs a new ConfirmProductInstanceRequest object.
|
Modifier and Type | Method and Description |
---|---|
ConfirmProductInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ConfirmProductInstanceRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getProductCode()
The product code.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setProductCode(String productCode)
The product code.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ConfirmProductInstanceRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
ConfirmProductInstanceRequest |
withProductCode(String productCode)
The product code.
|
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 ConfirmProductInstanceRequest()
public ConfirmProductInstanceRequest(String productCode, String instanceId)
productCode
- The product code. This must be a product code that you own.instanceId
- The ID of the instance.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public ConfirmProductInstanceRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setProductCode(String productCode)
The product code. This must be a product code that you own.
productCode
- The product code. This must be a product code that you own.public String getProductCode()
The product code. This must be a product code that you own.
public ConfirmProductInstanceRequest withProductCode(String productCode)
The product code. This must be a product code that you own.
productCode
- The product code. This must be a product code that you own.public Request<ConfirmProductInstanceRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ConfirmProductInstanceRequest>
public String toString()
toString
in class Object
Object.toString()
public ConfirmProductInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.