public class CreateMountTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateMountTargetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMountTargetRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getFileSystemId()
The ID of the file system for which to create the mount target.
|
String |
getIpAddress()
A valid IPv4 address within the address range of the specified subnet.
|
List<String> |
getSecurityGroups()
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".
|
String |
getSubnetId()
The ID of the subnet to add the mount target in.
|
int |
hashCode() |
void |
setFileSystemId(String fileSystemId)
The ID of the file system for which to create the mount target.
|
void |
setIpAddress(String ipAddress)
A valid IPv4 address within the address range of the specified subnet.
|
void |
setSecurityGroups(Collection<String> securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".
|
void |
setSubnetId(String subnetId)
The ID of the subnet to add the mount target in.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateMountTargetRequest |
withFileSystemId(String fileSystemId)
The ID of the file system for which to create the mount target.
|
CreateMountTargetRequest |
withIpAddress(String ipAddress)
A valid IPv4 address within the address range of the specified subnet.
|
CreateMountTargetRequest |
withSecurityGroups(Collection<String> securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".
|
CreateMountTargetRequest |
withSecurityGroups(String... securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".
|
CreateMountTargetRequest |
withSubnetId(String subnetId)
The ID of the subnet to add the mount target in.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setFileSystemId(String fileSystemId)
The ID of the file system for which to create the mount target.
fileSystemId
- The ID of the file system for which to create the mount target.public String getFileSystemId()
The ID of the file system for which to create the mount target.
public CreateMountTargetRequest withFileSystemId(String fileSystemId)
The ID of the file system for which to create the mount target.
fileSystemId
- The ID of the file system for which to create the mount target.public void setSubnetId(String subnetId)
The ID of the subnet to add the mount target in.
subnetId
- The ID of the subnet to add the mount target in.public String getSubnetId()
The ID of the subnet to add the mount target in.
public CreateMountTargetRequest withSubnetId(String subnetId)
The ID of the subnet to add the mount target in.
subnetId
- The ID of the subnet to add the mount target in.public void setIpAddress(String ipAddress)
A valid IPv4 address within the address range of the specified subnet.
ipAddress
- A valid IPv4 address within the address range of the specified
subnet.public String getIpAddress()
A valid IPv4 address within the address range of the specified subnet.
public CreateMountTargetRequest withIpAddress(String ipAddress)
A valid IPv4 address within the address range of the specified subnet.
ipAddress
- A valid IPv4 address within the address range of the specified
subnet.public List<String> getSecurityGroups()
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
public void setSecurityGroups(Collection<String> securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
securityGroups
- Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These
must be for the same VPC as subnet specified.public CreateMountTargetRequest withSecurityGroups(String... securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
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
- Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These
must be for the same VPC as subnet specified.public CreateMountTargetRequest withSecurityGroups(Collection<String> securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
securityGroups
- Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These
must be for the same VPC as subnet specified.public String toString()
toString
in class Object
Object.toString()
public CreateMountTargetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.