public class ModifyIdFormatRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<ModifyIdFormatRequest>
Contains the parameters of ModifyIdFormat.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resource
The type of resource.
|
private java.lang.Boolean |
useLongIds
Indicate whether the resource should use longer IDs (17-character IDs).
|
NOOP
Constructor and Description |
---|
ModifyIdFormatRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyIdFormatRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<ModifyIdFormatRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getResource()
The type of resource.
|
java.lang.Boolean |
getUseLongIds()
Indicate whether the resource should use longer IDs (17-character IDs).
|
int |
hashCode() |
java.lang.Boolean |
isUseLongIds()
Indicate whether the resource should use longer IDs (17-character IDs).
|
void |
setResource(java.lang.String resource)
The type of resource.
|
void |
setUseLongIds(java.lang.Boolean useLongIds)
Indicate whether the resource should use longer IDs (17-character IDs).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyIdFormatRequest |
withResource(java.lang.String resource)
The type of resource.
|
ModifyIdFormatRequest |
withUseLongIds(java.lang.Boolean useLongIds)
Indicate whether the resource should use longer IDs (17-character IDs).
|
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
private java.lang.String resource
The type of resource.
private java.lang.Boolean useLongIds
Indicate whether the resource should use longer IDs (17-character IDs).
public void setResource(java.lang.String resource)
The type of resource.
resource
- The type of resource.public java.lang.String getResource()
The type of resource.
public ModifyIdFormatRequest withResource(java.lang.String resource)
The type of resource.
resource
- The type of resource.public void setUseLongIds(java.lang.Boolean useLongIds)
Indicate whether the resource should use longer IDs (17-character IDs).
useLongIds
- Indicate whether the resource should use longer IDs (17-character
IDs).public java.lang.Boolean getUseLongIds()
Indicate whether the resource should use longer IDs (17-character IDs).
public ModifyIdFormatRequest withUseLongIds(java.lang.Boolean useLongIds)
Indicate whether the resource should use longer IDs (17-character IDs).
useLongIds
- Indicate whether the resource should use longer IDs (17-character
IDs).public java.lang.Boolean isUseLongIds()
Indicate whether the resource should use longer IDs (17-character IDs).
public Request<ModifyIdFormatRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyIdFormatRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ModifyIdFormatRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()