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 ModifyIdFormatRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Request<ModifyIdFormatRequest>
getDryRunRequest()
This method is intended for internal use only.String
getResource()
The type of resource.Boolean
getUseLongIds()
Indicate whether the resource should use longer IDs (17-character IDs).int
hashCode()
Boolean
isUseLongIds()
Indicate whether the resource should use longer IDs (17-character IDs).void
setResource(String resource)
The type of resource.void
setUseLongIds(Boolean useLongIds)
Indicate whether the resource should use longer IDs (17-character IDs).String
toString()
Returns a string representation of this object; useful for testing and debugging.ModifyIdFormatRequest
withResource(String resource)
The type of resource.ModifyIdFormatRequest
withUseLongIds(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:
getDryRunRequest
in interfaceDryRunSupportedRequest<ModifyIdFormatRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyIdFormatRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-