@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFileSystemId()
The ID of the file system for which to create the mount target.
|
String |
getIpAddress()
Valid IPv4 address within the address range of the specified subnet.
|
List<String> |
getSecurityGroups()
Up to five 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)
Valid IPv4 address within the address range of the specified subnet.
|
void |
setSecurityGroups(Collection<String> securityGroups)
Up to five 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.
|
CreateMountTargetRequest |
withFileSystemId(String fileSystemId)
The ID of the file system for which to create the mount target.
|
CreateMountTargetRequest |
withIpAddress(String ipAddress)
Valid IPv4 address within the address range of the specified subnet.
|
CreateMountTargetRequest |
withSecurityGroups(Collection<String> securityGroups)
Up to five VPC security group IDs, of the form
sg-xxxxxxxx . |
CreateMountTargetRequest |
withSecurityGroups(String... securityGroups)
Up to five VPC security group IDs, of the form
sg-xxxxxxxx . |
CreateMountTargetRequest |
withSubnetId(String subnetId)
The ID of the subnet to add the mount target in.
|
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 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. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
subnetId
- The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is
associated with the file system's Availability Zone.public String getSubnetId()
The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
public CreateMountTargetRequest withSubnetId(String subnetId)
The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
subnetId
- The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is
associated with the file system's Availability Zone.public void setIpAddress(String ipAddress)
Valid IPv4 address within the address range of the specified subnet.
ipAddress
- Valid IPv4 address within the address range of the specified subnet.public String getIpAddress()
Valid IPv4 address within the address range of the specified subnet.
public CreateMountTargetRequest withIpAddress(String ipAddress)
Valid IPv4 address within the address range of the specified subnet.
ipAddress
- Valid IPv4 address within the address range of the specified subnet.public List<String> getSecurityGroups()
Up to five VPC security group IDs, of the form sg-xxxxxxxx
. These must be for the same VPC as subnet
specified.
sg-xxxxxxxx
. These must be for the same VPC
as subnet specified.public void setSecurityGroups(Collection<String> securityGroups)
Up to five VPC security group IDs, of the form sg-xxxxxxxx
. These must be for the same VPC as subnet
specified.
securityGroups
- Up to five 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 five 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 five 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 five VPC security group IDs, of the form sg-xxxxxxxx
. These must be for the same VPC as subnet
specified.
securityGroups
- Up to five 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()