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 interface
PolicyDescriptorType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
arn()
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role.static PolicyDescriptorType.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends PolicyDescriptorType.Builder>
serializableBuilderClass()
PolicyDescriptorType.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-