@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyIdentityIdFormatRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyIdentityIdFormatRequest>
Contains the parameters of ModifyIdentityIdFormat.
NOOP
Constructor and Description |
---|
ModifyIdentityIdFormatRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyIdentityIdFormatRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ModifyIdentityIdFormatRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPrincipalArn()
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
|
String |
getResource()
The type of resource:
instance | reservation | snapshot |
volume |
Boolean |
getUseLongIds()
Indicates whether the resource should use longer IDs (17-character IDs)
|
int |
hashCode() |
Boolean |
isUseLongIds()
Indicates whether the resource should use longer IDs (17-character IDs)
|
void |
setPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
|
void |
setResource(String resource)
The type of resource:
instance | reservation | snapshot |
volume |
void |
setUseLongIds(Boolean useLongIds)
Indicates whether the resource should use longer IDs (17-character IDs)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyIdentityIdFormatRequest |
withPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
|
ModifyIdentityIdFormatRequest |
withResource(String resource)
The type of resource:
instance | reservation | snapshot |
volume |
ModifyIdentityIdFormatRequest |
withUseLongIds(Boolean useLongIds)
Indicates whether the resource should use longer IDs (17-character IDs)
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to
modify the ID format for all IAM users, IAM roles, and the root user of the account.
principalArn
- The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to modify the ID format for all IAM users, IAM roles, and the root user of the account.public String getPrincipalArn()
The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to
modify the ID format for all IAM users, IAM roles, and the root user of the account.
all
to modify the ID format for all IAM users, IAM roles, and the root user of the account.public ModifyIdentityIdFormatRequest withPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to
modify the ID format for all IAM users, IAM roles, and the root user of the account.
principalArn
- The ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify all
to modify the ID format for all IAM users, IAM roles, and the root user of the account.public void setResource(String resource)
The type of resource: instance
| reservation
| snapshot
|
volume
resource
- The type of resource: instance
| reservation
| snapshot
|
volume
public String getResource()
The type of resource: instance
| reservation
| snapshot
|
volume
instance
| reservation
| snapshot
|
volume
public ModifyIdentityIdFormatRequest withResource(String resource)
The type of resource: instance
| reservation
| snapshot
|
volume
resource
- The type of resource: instance
| reservation
| snapshot
|
volume
public void setUseLongIds(Boolean useLongIds)
Indicates whether the resource should use longer IDs (17-character IDs)
useLongIds
- Indicates whether the resource should use longer IDs (17-character IDs)public Boolean getUseLongIds()
Indicates whether the resource should use longer IDs (17-character IDs)
public ModifyIdentityIdFormatRequest withUseLongIds(Boolean useLongIds)
Indicates whether the resource should use longer IDs (17-character IDs)
useLongIds
- Indicates whether the resource should use longer IDs (17-character IDs)public Boolean isUseLongIds()
Indicates whether the resource should use longer IDs (17-character IDs)
public Request<ModifyIdentityIdFormatRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyIdentityIdFormatRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyIdentityIdFormatRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.