Class ModifyIdentityIdFormatRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ec2.model.Ec2Request
-
- software.amazon.awssdk.services.ec2.model.ModifyIdentityIdFormatRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ModifyIdentityIdFormatRequest.Builder,ModifyIdentityIdFormatRequest>
@Generated("software.amazon.awssdk:codegen") public final class ModifyIdentityIdFormatRequest extends Ec2Request implements ToCopyableBuilder<ModifyIdentityIdFormatRequest.Builder,ModifyIdentityIdFormatRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModifyIdentityIdFormatRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModifyIdentityIdFormatRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
principalArn()
The ARN of the principal, which can be an IAM user, IAM role, or the root user.String
resource()
The type of resource:bundle
|conversion-task
|customer-gateway
|dhcp-options
|elastic-ip-allocation
|elastic-ip-association
|export-task
|flow-log
|image
|import-task
|internet-gateway
|network-acl
|network-acl-association
|network-interface
|network-interface-attachment
|prefix-list
|route-table
|route-table-association
|security-group
|subnet
|subnet-cidr-block-association
|vpc
|vpc-cidr-block-association
|vpc-endpoint
|vpc-peering-connection
|vpn-connection
|vpn-gateway
.List<SdkField<?>>
sdkFields()
static Class<? extends ModifyIdentityIdFormatRequest.Builder>
serializableBuilderClass()
ModifyIdentityIdFormatRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Boolean
useLongIds()
Indicates whether the resource should use longer IDs (17-character IDs)-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
principalArn
public final 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.- Returns:
- 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.
-
resource
public final String resource()
The type of resource:
bundle
|conversion-task
|customer-gateway
|dhcp-options
|elastic-ip-allocation
|elastic-ip-association
|export-task
|flow-log
|image
|import-task
|internet-gateway
|network-acl
|network-acl-association
|network-interface
|network-interface-attachment
|prefix-list
|route-table
|route-table-association
|security-group
|subnet
|subnet-cidr-block-association
|vpc
|vpc-cidr-block-association
|vpc-endpoint
|vpc-peering-connection
|vpn-connection
|vpn-gateway
.Alternatively, use the
all-current
option to include all resource types that are currently within their opt-in period for longer IDs.- Returns:
- The type of resource:
bundle
|conversion-task
|customer-gateway
|dhcp-options
|elastic-ip-allocation
|elastic-ip-association
|export-task
|flow-log
|image
|import-task
|internet-gateway
|network-acl
|network-acl-association
|network-interface
|network-interface-attachment
|prefix-list
|route-table
|route-table-association
|security-group
|subnet
|subnet-cidr-block-association
|vpc
|vpc-cidr-block-association
|vpc-endpoint
|vpc-peering-connection
|vpn-connection
|vpn-gateway
.Alternatively, use the
all-current
option to include all resource types that are currently within their opt-in period for longer IDs.
-
useLongIds
public final Boolean useLongIds()
Indicates whether the resource should use longer IDs (17-character IDs)
- Returns:
- Indicates whether the resource should use longer IDs (17-character IDs)
-
toBuilder
public ModifyIdentityIdFormatRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModifyIdentityIdFormatRequest.Builder,ModifyIdentityIdFormatRequest>
- Specified by:
toBuilder
in classEc2Request
-
builder
public static ModifyIdentityIdFormatRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifyIdentityIdFormatRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-