@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResetInstanceAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ResetInstanceAttributeRequest>
NOOP
Constructor and Description |
---|
ResetInstanceAttributeRequest()
Default constructor for ResetInstanceAttributeRequest object.
|
ResetInstanceAttributeRequest(String instanceId,
InstanceAttributeName attribute)
Constructs a new ResetInstanceAttributeRequest object.
|
ResetInstanceAttributeRequest(String instanceId,
String attribute)
Constructs a new ResetInstanceAttributeRequest object.
|
Modifier and Type | Method and Description |
---|---|
ResetInstanceAttributeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAttribute()
The attribute to reset.
|
Request<ResetInstanceAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInstanceId()
The ID of the instance.
|
int |
hashCode() |
void |
setAttribute(InstanceAttributeName attribute)
The attribute to reset.
|
void |
setAttribute(String attribute)
The attribute to reset.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
String |
toString()
Returns a string representation of this object.
|
ResetInstanceAttributeRequest |
withAttribute(InstanceAttributeName attribute)
The attribute to reset.
|
ResetInstanceAttributeRequest |
withAttribute(String attribute)
The attribute to reset.
|
ResetInstanceAttributeRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
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 ResetInstanceAttributeRequest()
public ResetInstanceAttributeRequest(String instanceId, String attribute)
instanceId
- The ID of the instance.attribute
- The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
public ResetInstanceAttributeRequest(String instanceId, InstanceAttributeName attribute)
instanceId
- The ID of the instance.attribute
- The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
public void setAttribute(String attribute)
The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
attribute
- The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
InstanceAttributeName
public String getAttribute()
The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
InstanceAttributeName
public ResetInstanceAttributeRequest withAttribute(String attribute)
The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
attribute
- The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
InstanceAttributeName
public void setAttribute(InstanceAttributeName attribute)
The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
attribute
- The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
InstanceAttributeName
public ResetInstanceAttributeRequest withAttribute(InstanceAttributeName attribute)
The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
attribute
- The attribute to reset.
You can only reset the following attributes: kernel
| ramdisk
|
sourceDestCheck
.
InstanceAttributeName
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 ResetInstanceAttributeRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public Request<ResetInstanceAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ResetInstanceAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
public ResetInstanceAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()