Class GetDelegatedAccessTokenResponse
java.lang.Object
software.amazon.awssdk.core.SdkResponse
software.amazon.awssdk.awscore.AwsResponse
software.amazon.awssdk.services.sts.model.StsResponse
software.amazon.awssdk.services.sts.model.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>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token.builder()final CredentialsReturns the value of the Credentials property for this object.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe percentage of the maximum policy size that is used by the session policy.static Class<? extends GetDelegatedAccessTokenResponse.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.sts.model.StsResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
credentials
Returns the value of the Credentials property for this object.- Returns:
- The value of the Credentials property for this object.
-
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
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:
toBuilderin interfaceToCopyableBuilder<GetDelegatedAccessTokenResponse.Builder,GetDelegatedAccessTokenResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-