@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
PolicyDescriptorType.Builder |
Modifier and Type | Method and 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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 AWS Service Namespaces in the AWS General Reference.
public PolicyDescriptorType.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PolicyDescriptorType.Builder,PolicyDescriptorType>
public static PolicyDescriptorType.Builder builder()
public static Class<? extends PolicyDescriptorType.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.