@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyDescriptorType extends Object implements Serializable, Cloneable
A reference to the IAM managed policy that is passed as a session policy for a role session or a federated user session.
Constructor and Description |
---|
PolicyDescriptorType() |
Modifier and Type | Method and Description |
---|---|
PolicyDescriptorType |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role.
|
String |
toString()
Returns a string representation of this object.
|
PolicyDescriptorType |
withArn(String arn)
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role.
|
public void setArn(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.
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.public String getArn()
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.
public PolicyDescriptorType withArn(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.
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.public String toString()
toString
in class Object
Object.toString()
public PolicyDescriptorType clone()