@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 Amazon Web Services managed policy.
Constructor and Description |
---|
AttachedManagedPolicy() |
Modifier and Type | Method and Description |
---|---|
AttachedManagedPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the Amazon Web Services managed policy.
|
String |
getName()
The name of the Amazon Web Services managed policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the Amazon Web Services managed policy.
|
void |
setName(String name)
The name of the Amazon Web Services managed policy.
|
String |
toString()
Returns a string representation of this object.
|
AttachedManagedPolicy |
withArn(String arn)
The ARN of the Amazon Web Services managed policy.
|
AttachedManagedPolicy |
withName(String name)
The name of the Amazon Web Services managed policy.
|
public void setArn(String arn)
The ARN of the Amazon Web Services managed policy. 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 ARN of the Amazon Web Services managed policy. 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 ARN of the Amazon Web Services managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
public AttachedManagedPolicy withArn(String arn)
The ARN of the Amazon Web Services managed policy. 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 ARN of the Amazon Web Services managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web
Services Service Namespaces in the Amazon Web Services General Reference.public void setName(String name)
The name of the Amazon Web Services managed policy.
name
- The name of the Amazon Web Services managed policy.public String getName()
The name of the Amazon Web Services managed policy.
public AttachedManagedPolicy withName(String name)
The name of the Amazon Web Services managed policy.
name
- The name of the Amazon Web Services managed policy.public String toString()
toString
in class Object
Object.toString()
public AttachedManagedPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.