public class ModifyIdFormatRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ModifyIdFormat operation
.
Modifies the ID format for the specified resource on a per-region
basis. 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. Resources created with longer
IDs are visible to all IAM users, regardless of these settings and
provided that they have permission to use the relevant
Describe
command for the resource type.
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 © 2016. All rights reserved.