@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActiveIAMPolicyAssignment extends Object implements Serializable, Cloneable, StructuredPojo
The active AWS Identity and Access Management (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 Amazon Resource Name (ARN) of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAssignmentName(String assignmentName)
A name for the IAM policy assignment.
|
void |
setPolicyArn(String policyArn)
The Amazon Resource Name (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 Amazon Resource Name (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 Amazon Resource Name (ARN) of the resource.
policyArn
- The Amazon Resource Name (ARN) of the resource.public String getPolicyArn()
The Amazon Resource Name (ARN) of the resource.
public ActiveIAMPolicyAssignment withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the resource.
policyArn
- The Amazon Resource Name (ARN) of the resource.public String toString()
toString
in class Object
Object.toString()
public ActiveIAMPolicyAssignment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.