Class AssumeRootResponse
- 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.AssumeRootResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssumeRootResponse.Builder,AssumeRootResponse>
@Generated("software.amazon.awssdk:codegen") public final class AssumeRootResponse extends StsResponse implements ToCopyableBuilder<AssumeRootResponse.Builder,AssumeRootResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssumeRootResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssumeRootResponse.Builderbuilder()Credentialscredentials()The temporary security credentials, which include an access key ID, a secret access key, and a security token.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AssumeRootResponse.Builder>serializableBuilderClass()StringsourceIdentity()The source identity specified by the principal that is calling theAssumeRootoperation.AssumeRootResponse.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()
The temporary security credentials, which include an access key ID, a secret access key, and a security token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
- Returns:
- The temporary security credentials, which include an access key ID, a secret access key, and a security
token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
-
sourceIdentity
public final String sourceIdentity()
The source identity specified by the principal that is calling the
AssumeRootoperation.You can use the
aws:SourceIdentitycondition key to control access based on the value of source identity. For more information about using source identity, see Monitor and control actions taken with assumed roles in the IAM User Guide.The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@-
- Returns:
- The source identity specified by the principal that is calling the
AssumeRootoperation.You can use the
aws:SourceIdentitycondition key to control access based on the value of source identity. For more information about using source identity, see Monitor and control actions taken with assumed roles in the IAM User Guide.The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@-
-
toBuilder
public AssumeRootResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssumeRootResponse.Builder,AssumeRootResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static AssumeRootResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssumeRootResponse.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
-
-