@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsIamGroupPolicy extends Object implements Serializable, Cloneable, StructuredPojo
A managed policy that is attached to the IAM group.
| Constructor and Description |
|---|
AwsIamGroupPolicy() |
| Modifier and Type | Method and Description |
|---|---|
AwsIamGroupPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPolicyName(String policyName)
The name of the policy.
|
String |
toString()
Returns a string representation of this object.
|
AwsIamGroupPolicy |
withPolicyName(String policyName)
The name of the policy.
|
public void setPolicyName(String policyName)
The name of the policy.
policyName - The name of the policy.public String getPolicyName()
The name of the policy.
public AwsIamGroupPolicy withPolicyName(String policyName)
The name of the policy.
policyName - The name of the policy.public String toString()
toString in class ObjectObject.toString()public AwsIamGroupPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.