Class 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>
  • Method Details

    • 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)
    • 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.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ModifyIdentityIdFormatRequest.Builder,ModifyIdentityIdFormatRequest>
      Specified by:
      toBuilder in class Ec2Request
    • builder

      public static ModifyIdentityIdFormatRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ModifyIdentityIdFormatRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo