public class DescribeIdFormatRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeIdFormat operation
.
Describes the ID format settings for your resources on a per-region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types.
The following resource types support longer IDs: instance
|
reservation
|
snapshot
|
volume
.
These settings apply to the IAM user who makes the request; they do
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 the ModifyIdFormat command. 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.
Constructor and Description |
---|
DescribeIdFormatRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResource()
The type of resource.
|
int |
hashCode() |
void |
setResource(java.lang.String resource)
The type of resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeIdFormatRequest |
withResource(java.lang.String resource)
The type of resource.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getResource()
public void setResource(java.lang.String resource)
resource
- The type of resource.public DescribeIdFormatRequest withResource(java.lang.String resource)
Returns a reference to this object so that method calls can be chained together.
resource
- The type of resource.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.