|
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.UpdateGroupRequest
public class UpdateGroupRequest
Container for the parameters to the UpdateGroup operation
.
Updates the name and/or the path of the specified group.
IMPORTANT: You should understand the implications of changing a group's path or name. For more information, see Renaming Users and Groups in Using AWS Identity and Access Management.
NOTE:To change a group name the requester must have appropriate permissions on both the source object and the target object. For example, to change Managers to MGRs, the entity making the request must have permission on Managers and MGRs, or must have permission on all (*). For more information about permissions, see Permissions and Policies.
AmazonIdentityManagement.updateGroup(UpdateGroupRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdateGroupRequest()
Default constructor for a new UpdateGroupRequest object. |
|
UpdateGroupRequest(String groupName)
Constructs a new UpdateGroupRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getGroupName()
Name of the group to update. |
String |
getNewGroupName()
New name for the group. |
String |
getNewPath()
New path for the group. |
int |
hashCode()
|
void |
setGroupName(String groupName)
Name of the group to update. |
void |
setNewGroupName(String newGroupName)
New name for the group. |
void |
setNewPath(String newPath)
New path for the group. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateGroupRequest |
withGroupName(String groupName)
Name of the group to update. |
UpdateGroupRequest |
withNewGroupName(String newGroupName)
New name for the group. |
UpdateGroupRequest |
withNewPath(String newPath)
New path for the group. |
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 UpdateGroupRequest()
public UpdateGroupRequest(String groupName)
groupName
- Name of the group to update. If you're changing the
name of the group, this is the original name.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 update. If you're changing the name of the group,
this is the original name.public UpdateGroupRequest 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 update. If you're changing the name of the group,
this is the original name.
public String getNewPath()
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
public void setNewPath(String newPath)
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
newPath
- New path for the group. Only include this if changing the group's
path.public UpdateGroupRequest withNewPath(String newPath)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
newPath
- New path for the group. Only include this if changing the group's
path.
public String getNewGroupName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setNewGroupName(String newGroupName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
newGroupName
- New name for the group. Only include this if changing the group's
name.public UpdateGroupRequest withNewGroupName(String newGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
newGroupName
- New name for the group. Only include this if changing the group's
name.
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 |