@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyUserGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyUserGroupRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyUserGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getUserGroupId()
The ID of the user group.
|
List<String> |
getUserIdsToAdd()
The list of user IDs to add to the user group.
|
List<String> |
getUserIdsToRemove()
The list of user IDs to remove from the user group.
|
int |
hashCode() |
void |
setUserGroupId(String userGroupId)
The ID of the user group.
|
void |
setUserIdsToAdd(Collection<String> userIdsToAdd)
The list of user IDs to add to the user group.
|
void |
setUserIdsToRemove(Collection<String> userIdsToRemove)
The list of user IDs to remove from the user group.
|
String |
toString()
Returns a string representation of this object.
|
ModifyUserGroupRequest |
withUserGroupId(String userGroupId)
The ID of the user group.
|
ModifyUserGroupRequest |
withUserIdsToAdd(Collection<String> userIdsToAdd)
The list of user IDs to add to the user group.
|
ModifyUserGroupRequest |
withUserIdsToAdd(String... userIdsToAdd)
The list of user IDs to add to the user group.
|
ModifyUserGroupRequest |
withUserIdsToRemove(Collection<String> userIdsToRemove)
The list of user IDs to remove from the user group.
|
ModifyUserGroupRequest |
withUserIdsToRemove(String... userIdsToRemove)
The list of user IDs to remove from the user group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserGroupId(String userGroupId)
The ID of the user group.
userGroupId
- The ID of the user group.public String getUserGroupId()
The ID of the user group.
public ModifyUserGroupRequest withUserGroupId(String userGroupId)
The ID of the user group.
userGroupId
- The ID of the user group.public List<String> getUserIdsToAdd()
The list of user IDs to add to the user group.
public void setUserIdsToAdd(Collection<String> userIdsToAdd)
The list of user IDs to add to the user group.
userIdsToAdd
- The list of user IDs to add to the user group.public ModifyUserGroupRequest withUserIdsToAdd(String... userIdsToAdd)
The list of user IDs to add to the user group.
NOTE: This method appends the values to the existing list (if any). Use
setUserIdsToAdd(java.util.Collection)
or withUserIdsToAdd(java.util.Collection)
if you want to
override the existing values.
userIdsToAdd
- The list of user IDs to add to the user group.public ModifyUserGroupRequest withUserIdsToAdd(Collection<String> userIdsToAdd)
The list of user IDs to add to the user group.
userIdsToAdd
- The list of user IDs to add to the user group.public List<String> getUserIdsToRemove()
The list of user IDs to remove from the user group.
public void setUserIdsToRemove(Collection<String> userIdsToRemove)
The list of user IDs to remove from the user group.
userIdsToRemove
- The list of user IDs to remove from the user group.public ModifyUserGroupRequest withUserIdsToRemove(String... userIdsToRemove)
The list of user IDs to remove from the user group.
NOTE: This method appends the values to the existing list (if any). Use
setUserIdsToRemove(java.util.Collection)
or withUserIdsToRemove(java.util.Collection)
if you
want to override the existing values.
userIdsToRemove
- The list of user IDs to remove from the user group.public ModifyUserGroupRequest withUserIdsToRemove(Collection<String> userIdsToRemove)
The list of user IDs to remove from the user group.
userIdsToRemove
- The list of user IDs to remove from the user group.public String toString()
toString
in class Object
Object.toString()
public ModifyUserGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()