@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()
The ID of the mount target whose security groups you want to modify.
|
List<String> |
getSecurityGroups()
An array of up to five VPC security group IDs.
|
int |
hashCode() |
void |
setMountTargetId(String mountTargetId)
The ID of the mount target whose security groups you want to modify.
|
void |
setSecurityGroups(Collection<String> securityGroups)
An array of up to five VPC security group IDs.
|
String |
toString()
Returns a string representation of this object.
|
ModifyMountTargetSecurityGroupsRequest |
withMountTargetId(String mountTargetId)
The ID of the mount target whose security groups you want to modify.
|
ModifyMountTargetSecurityGroupsRequest |
withSecurityGroups(Collection<String> securityGroups)
An array of up to five VPC security group IDs.
|
ModifyMountTargetSecurityGroupsRequest |
withSecurityGroups(String... securityGroups)
An 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)
The ID of the mount target whose security groups you want to modify.
mountTargetId
- The ID of the mount target whose security groups you want to modify.public String getMountTargetId()
The ID of the mount target whose security groups you want to modify.
public ModifyMountTargetSecurityGroupsRequest withMountTargetId(String mountTargetId)
The ID of the mount target whose security groups you want to modify.
mountTargetId
- The ID of the mount target whose security groups you want to modify.public List<String> getSecurityGroups()
An array of up to five VPC security group IDs.
public void setSecurityGroups(Collection<String> securityGroups)
An array of up to five VPC security group IDs.
securityGroups
- An array of up to five VPC security group IDs.public ModifyMountTargetSecurityGroupsRequest withSecurityGroups(String... securityGroups)
An 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
- An array of up to five VPC security group IDs.public ModifyMountTargetSecurityGroupsRequest withSecurityGroups(Collection<String> securityGroups)
An array of up to five VPC security group IDs.
securityGroups
- An 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()