@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActiveIAMPolicyAssignment extends Object implements Serializable, Cloneable, StructuredPojo
The active IAM policy assignment.
| Constructor and Description |
|---|
ActiveIAMPolicyAssignment() |
| Modifier and Type | Method and Description |
|---|---|
ActiveIAMPolicyAssignment |
clone() |
boolean |
equals(Object obj) |
String |
getAssignmentName()
A name for the IAM policy assignment.
|
String |
getPolicyArn()
The ARN of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAssignmentName(String assignmentName)
A name for the IAM policy assignment.
|
void |
setPolicyArn(String policyArn)
The ARN of the resource.
|
String |
toString()
Returns a string representation of this object.
|
ActiveIAMPolicyAssignment |
withAssignmentName(String assignmentName)
A name for the IAM policy assignment.
|
ActiveIAMPolicyAssignment |
withPolicyArn(String policyArn)
The ARN of the resource.
|
public void setAssignmentName(String assignmentName)
A name for the IAM policy assignment.
assignmentName - A name for the IAM policy assignment.public String getAssignmentName()
A name for the IAM policy assignment.
public ActiveIAMPolicyAssignment withAssignmentName(String assignmentName)
A name for the IAM policy assignment.
assignmentName - A name for the IAM policy assignment.public void setPolicyArn(String policyArn)
The ARN of the resource.
policyArn - The ARN of the resource.public String getPolicyArn()
The ARN of the resource.
public ActiveIAMPolicyAssignment withPolicyArn(String policyArn)
The ARN of the resource.
policyArn - The ARN of the resource.public String toString()
toString in class ObjectObject.toString()public ActiveIAMPolicyAssignment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.