public class ModifyIdFormatRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ModifyIdFormat operation
.
Important: This command is reserved for future use, and is currently not available for you to use.
Modifies the ID format for the specified resource. You can specify
that resources should receive longer IDs (17-character IDs) when they
are created. The following resource types support longer IDs:
instance
|
reservation
.
This setting applies to the IAM user who makes the request; it does not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user, unless they explicitly override the settings by running this request. These settings are applied on a per-region basis.
NOOP
Constructor and Description |
---|
ModifyIdFormatRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyIdFormatRequest |
clone() |
boolean |
equals(Object obj) |
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).
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getResource()
public void setResource(String resource)
resource
- The type of resource.public ModifyIdFormatRequest withResource(String resource)
Returns a reference to this object so that method calls can be chained together.
resource
- The type of resource.public Boolean isUseLongIds()
public void setUseLongIds(Boolean useLongIds)
useLongIds
- Indicate whether the resource should use longer IDs (17-character
IDs).public ModifyIdFormatRequest withUseLongIds(Boolean useLongIds)
Returns a reference to this object so that method calls can be chained together.
useLongIds
- Indicate whether the resource should use longer IDs (17-character
IDs).public Boolean getUseLongIds()
public String toString()
toString
in class Object
Object.toString()
public ModifyIdFormatRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.