@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyMountTargetSecurityGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyMountTargetSecurityGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyMountTargetSecurityGroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getMountTargetId()
ID of the mount target whose security groups you want to modify.
|
List<String> |
getSecurityGroups()
Array of up to five VPC security group IDs.
|
int |
hashCode() |
void |
setMountTargetId(String mountTargetId)
ID of the mount target whose security groups you want to modify.
|
void |
setSecurityGroups(Collection<String> securityGroups)
Array of up to five VPC security group IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyMountTargetSecurityGroupsRequest |
withMountTargetId(String mountTargetId)
ID of the mount target whose security groups you want to modify.
|
ModifyMountTargetSecurityGroupsRequest |
withSecurityGroups(Collection<String> securityGroups)
Array of up to five VPC security group IDs.
|
ModifyMountTargetSecurityGroupsRequest |
withSecurityGroups(String... securityGroups)
Array of up to five VPC security group IDs.
|
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 ModifyMountTargetSecurityGroupsRequest()
public void setMountTargetId(String mountTargetId)
ID of the mount target whose security groups you want to modify.
mountTargetId
- ID of the mount target whose security groups you want to modify.public String getMountTargetId()
ID of the mount target whose security groups you want to modify.
public ModifyMountTargetSecurityGroupsRequest withMountTargetId(String mountTargetId)
ID of the mount target whose security groups you want to modify.
mountTargetId
- ID of the mount target whose security groups you want to modify.public List<String> getSecurityGroups()
Array of up to five VPC security group IDs.
public void setSecurityGroups(Collection<String> securityGroups)
Array of up to five VPC security group IDs.
securityGroups
- Array of up to five VPC security group IDs.public ModifyMountTargetSecurityGroupsRequest withSecurityGroups(String... securityGroups)
Array of up to five VPC security group IDs.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- Array of up to five VPC security group IDs.public ModifyMountTargetSecurityGroupsRequest withSecurityGroups(Collection<String> securityGroups)
Array of up to five VPC security group IDs.
securityGroups
- Array of up to five VPC security group IDs.public String toString()
toString
in class Object
Object.toString()
public ModifyMountTargetSecurityGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.