|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.PutGroupPolicyRequest
public class PutGroupPolicyRequest
Container for the parameters to the PutGroupPolicy operation
.
Adds (or updates) a policy document associated with the specified group. For information about policies, refer to Overview of Policies in Using AWS Identity and Access Management .
For information about limits on the number of policies you can associate with a group, see Limitations on IAM Entities in Using AWS Identity and Access Management .
NOTE:Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Making Query Requests in Using IAM.
AmazonIdentityManagement.putGroupPolicy(PutGroupPolicyRequest)
,
Serialized FormConstructor Summary | |
---|---|
PutGroupPolicyRequest()
Default constructor for a new PutGroupPolicyRequest object. |
|
PutGroupPolicyRequest(String groupName,
String policyName,
String policyDocument)
Constructs a new PutGroupPolicyRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getGroupName()
Name of the group to associate the policy with. |
String |
getPolicyDocument()
The policy document. |
String |
getPolicyName()
Name of the policy document. |
int |
hashCode()
|
void |
setGroupName(String groupName)
Name of the group to associate the policy with. |
void |
setPolicyDocument(String policyDocument)
The policy document. |
void |
setPolicyName(String policyName)
Name of the policy document. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PutGroupPolicyRequest |
withGroupName(String groupName)
Name of the group to associate the policy with. |
PutGroupPolicyRequest |
withPolicyDocument(String policyDocument)
The policy document. |
PutGroupPolicyRequest |
withPolicyName(String policyName)
Name of the policy document. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PutGroupPolicyRequest()
public PutGroupPolicyRequest(String groupName, String policyName, String policyDocument)
groupName
- Name of the group to associate the policy with.policyName
- Name of the policy document.policyDocument
- The policy document.Method Detail |
---|
public String getGroupName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setGroupName(String groupName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName
- Name of the group to associate the policy with.public PutGroupPolicyRequest withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName
- Name of the group to associate the policy with.
public String getPolicyName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setPolicyName(String policyName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName
- Name of the policy document.public PutGroupPolicyRequest withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName
- Name of the policy document.
public String getPolicyDocument()
Constraints:
Length: 1 - 131072
Pattern: [
-?]+
public void setPolicyDocument(String policyDocument)
Constraints:
Length: 1 - 131072
Pattern: [
-?]+
policyDocument
- The policy document.public PutGroupPolicyRequest withPolicyDocument(String policyDocument)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 131072
Pattern: [
-?]+
policyDocument
- The policy document.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |