Class AssumeRootRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.sts.model.StsRequest
software.amazon.awssdk.services.sts.model.AssumeRootRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssumeRootRequest.Builder,AssumeRootRequest>
@Generated("software.amazon.awssdk:codegen")
public final class AssumeRootRequest
extends StsRequest
implements ToCopyableBuilder<AssumeRootRequest.Builder,AssumeRootRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AssumeRootRequest.Builderbuilder()final IntegerThe duration, in seconds, of the privileged session.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends AssumeRootRequest.Builder>final StringThe member account principal ARN or account ID.final PolicyDescriptorTypeThe identity based policy that scopes the session to the privileged tasks that can be performed.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods 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
-
targetPrincipal
The member account principal ARN or account ID.
- Returns:
- The member account principal ARN or account ID.
-
taskPolicyArn
The identity based policy that scopes the session to the privileged tasks that can be performed. You must use one of following Amazon Web Services managed policies to scope root session actions:
- Returns:
- The identity based policy that scopes the session to the privileged tasks that can be performed. You must use one of following Amazon Web Services managed policies to scope root session actions:
-
durationSeconds
The duration, in seconds, of the privileged session. The value can range from 0 seconds up to the maximum session duration of 900 seconds (15 minutes). If you specify a value higher than this setting, the operation fails.
By default, the value is set to
900seconds.- Returns:
- The duration, in seconds, of the privileged session. The value can range from 0 seconds up to the maximum
session duration of 900 seconds (15 minutes). If you specify a value higher than this setting, the
operation fails.
By default, the value is set to
900seconds.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssumeRootRequest.Builder,AssumeRootRequest> - Specified by:
toBuilderin classStsRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-