Class GetDelegatedAccessTokenResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<GetDelegatedAccessTokenResponse.Builder,GetDelegatedAccessTokenResponse>

@Generated("software.amazon.awssdk:codegen") public final class GetDelegatedAccessTokenResponse extends StsResponse implements ToCopyableBuilder<GetDelegatedAccessTokenResponse.Builder,GetDelegatedAccessTokenResponse>
  • Method Details

    • credentials

      public final Credentials credentials()
      Returns the value of the Credentials property for this object.
      Returns:
      The value of the Credentials property for this object.
    • packedPolicySize

      public final Integer packedPolicySize()

      The percentage of the maximum policy size that is used by the session policy. The policy size is calculated as the sum of all the session policies and permission boundaries attached to the session. If the packed size exceeds 100%, the request fails.

      Returns:
      The percentage of the maximum policy size that is used by the session policy. The policy size is calculated as the sum of all the session policies and permission boundaries attached to the session. If the packed size exceeds 100%, the request fails.
    • assumedPrincipal

      public final String assumedPrincipal()

      The Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token. This ARN identifies the IAM entity whose permissions are granted by the temporary credentials.

      Returns:
      The Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token. This ARN identifies the IAM entity whose permissions are granted by the temporary credentials.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<GetDelegatedAccessTokenResponse.Builder,GetDelegatedAccessTokenResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static GetDelegatedAccessTokenResponse.Builder builder()
    • serializableBuilderClass

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

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • 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 SdkResponse
    • 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