@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyGenerationDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains the ARN details about the IAM entity for which the policy is generated.
Constructor and Description |
---|
PolicyGenerationDetails() |
Modifier and Type | Method and Description |
---|---|
PolicyGenerationDetails |
clone() |
boolean |
equals(Object obj) |
String |
getPrincipalArn()
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
String |
toString()
Returns a string representation of this object.
|
PolicyGenerationDetails |
withPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
public void setPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
principalArn
- The ARN of the IAM entity (user or role) for which you are generating a policy.public String getPrincipalArn()
The ARN of the IAM entity (user or role) for which you are generating a policy.
public PolicyGenerationDetails withPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
principalArn
- The ARN of the IAM entity (user or role) for which you are generating a policy.public String toString()
toString
in class Object
Object.toString()
public PolicyGenerationDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.