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 Modifier and Type Class Description static interfaceGetDelegatedAccessTokenResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassumedPrincipal()The Amazon Resource Name (ARN) of the principal that was assumed when obtaining the delegated access token.static GetDelegatedAccessTokenResponse.Builderbuilder()Credentialscredentials()Returns the value of the Credentials property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerpackedPolicySize()The percentage of the maximum policy size that is used by the session policy.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetDelegatedAccessTokenResponse.Builder>serializableBuilderClass()GetDelegatedAccessTokenResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.sts.model.StsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
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
public GetDelegatedAccessTokenResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetDelegatedAccessTokenResponse.Builder,GetDelegatedAccessTokenResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetDelegatedAccessTokenResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetDelegatedAccessTokenResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-