@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachedManagedPolicy extends Object implements Serializable, Cloneable, StructuredPojo
A structure that stores the details of the IAM managed policy.
| Constructor and Description |
|---|
AttachedManagedPolicy() |
| Modifier and Type | Method and Description |
|---|---|
AttachedManagedPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the IAM managed policy.
|
String |
getName()
The name of the IAM managed policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The ARN of the IAM managed policy.
|
void |
setName(String name)
The name of the IAM managed policy.
|
String |
toString()
Returns a string representation of this object.
|
AttachedManagedPolicy |
withArn(String arn)
The ARN of the IAM managed policy.
|
AttachedManagedPolicy |
withName(String name)
The name of the IAM managed policy.
|
public void setName(String name)
The name of the IAM managed policy.
name - The name of the IAM managed policy.public String getName()
The name of the IAM managed policy.
public AttachedManagedPolicy withName(String name)
The name of the IAM managed policy.
name - The name of the IAM managed policy.public void setArn(String arn)
The ARN of the IAM managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
arn - The ARN of the IAM managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service
Namespaces in the AWS General Reference.public String getArn()
The ARN of the IAM managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public AttachedManagedPolicy withArn(String arn)
The ARN of the IAM managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
arn - The ARN of the IAM managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service
Namespaces in the AWS General Reference.public String toString()
toString in class ObjectObject.toString()public AttachedManagedPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.