Package com.amazonaws.services.ec2.model
Class ModifyIdFormatRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.ModifyIdFormatRequest
-
- All Implemented Interfaces:
ReadLimitInfo,DryRunSupportedRequest<ModifyIdFormatRequest>,Serializable,Cloneable
public class ModifyIdFormatRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyIdFormatRequest>
Contains the parameters of ModifyIdFormat.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyIdFormatRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyIdFormatRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)Request<ModifyIdFormatRequest>getDryRunRequest()This method is intended for internal use only.StringgetResource()The type of resource.BooleangetUseLongIds()Indicate whether the resource should use longer IDs (17-character IDs).inthashCode()BooleanisUseLongIds()Indicate whether the resource should use longer IDs (17-character IDs).voidsetResource(String resource)The type of resource.voidsetUseLongIds(Boolean useLongIds)Indicate whether the resource should use longer IDs (17-character IDs).StringtoString()Returns a string representation of this object; useful for testing and debugging.ModifyIdFormatRequestwithResource(String resource)The type of resource.ModifyIdFormatRequestwithUseLongIds(Boolean useLongIds)Indicate whether the resource should use longer IDs (17-character IDs).-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setResource
public void setResource(String resource)
The type of resource.
- Parameters:
resource- The type of resource.
-
getResource
public String getResource()
The type of resource.
- Returns:
- The type of resource.
-
withResource
public ModifyIdFormatRequest withResource(String resource)
The type of resource.
- Parameters:
resource- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUseLongIds
public void setUseLongIds(Boolean useLongIds)
Indicate whether the resource should use longer IDs (17-character IDs).
- Parameters:
useLongIds- Indicate whether the resource should use longer IDs (17-character IDs).
-
getUseLongIds
public Boolean getUseLongIds()
Indicate whether the resource should use longer IDs (17-character IDs).
- Returns:
- Indicate whether the resource should use longer IDs (17-character IDs).
-
withUseLongIds
public ModifyIdFormatRequest withUseLongIds(Boolean useLongIds)
Indicate whether the resource should use longer IDs (17-character IDs).
- Parameters:
useLongIds- Indicate whether the resource should use longer IDs (17-character IDs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isUseLongIds
public Boolean isUseLongIds()
Indicate whether the resource should use longer IDs (17-character IDs).
- Returns:
- Indicate whether the resource should use longer IDs (17-character IDs).
-
getDryRunRequest
public Request<ModifyIdFormatRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequestin interfaceDryRunSupportedRequest<ModifyIdFormatRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyIdFormatRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-