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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePolicyDescriptorType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role.static PolicyDescriptorType.Builderbuilder()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 PolicyDescriptorType.Builder>serializableBuilderClass()PolicyDescriptorType.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
arn
public final String 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
public PolicyDescriptorType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PolicyDescriptorType.Builder,PolicyDescriptorType>
-
builder
public static PolicyDescriptorType.Builder builder()
-
serializableBuilderClass
public static Class<? extends PolicyDescriptorType.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-