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:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
This method is intended for internal use only.The type of resource.Indicate whether the resource should use longer IDs (17-character IDs).int
hashCode()
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).toString()
Returns a string representation of this object; useful for testing and debugging.withResource
(String resource) The type of resource.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
-
Constructor Details
-
ModifyIdFormatRequest
public ModifyIdFormatRequest()
-
-
Method Details
-
setResource
The type of resource.
- Parameters:
resource
- The type of resource.
-
getResource
The type of resource.
- Returns:
- The type of resource.
-
withResource
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
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
Indicate whether the resource should use longer IDs (17-character IDs).
- Returns:
- Indicate whether the resource should use longer IDs (17-character IDs).
-
withUseLongIds
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
Indicate whether the resource should use longer IDs (17-character IDs).
- Returns:
- Indicate whether the resource should use longer IDs (17-character IDs).
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-