Class PolicyDescriptorType
java.lang.Object
software.amazon.awssdk.services.sts.model.PolicyDescriptorType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PolicyDescriptorType.Builder,PolicyDescriptorType>
@Generated("software.amazon.awssdk:codegen")
public final class PolicyDescriptorType
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<PolicyDescriptorType.Builder,PolicyDescriptorType>
A reference to the IAM managed policy that is passed as a session policy for a role session or a federated user session.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role.static PolicyDescriptorType.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends PolicyDescriptorType.Builder>final StringtoString()Returns a string representation of this object.Methods 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
-
arn
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
- Returns:
- The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PolicyDescriptorType.Builder,PolicyDescriptorType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-