Class CreateMountTargetRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The ID of the file system for which to create the mount target.A valid IPv4 address within the address range of the specified subnet.Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".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.toString()
Returns a string representation of this object; useful for testing and debugging.withFileSystemId
(String fileSystemId) The ID of the file system for which to create the mount target.withIpAddress
(String ipAddress) A valid IPv4 address within the address range of the specified subnet.withSecurityGroups
(String... securityGroups) Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".withSecurityGroups
(Collection<String> securityGroups) Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".withSubnetId
(String subnetId) The ID of the subnet to add the mount target in.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateMountTargetRequest
public CreateMountTargetRequest()
-
-
Method Details
-
setFileSystemId
The ID of the file system for which to create the mount target.
- Parameters:
fileSystemId
- The ID of the file system for which to create the mount target.
-
getFileSystemId
The ID of the file system for which to create the mount target.
- Returns:
- The ID of the file system for which to create the mount target.
-
withFileSystemId
The ID of the file system for which to create the mount target.
- Parameters:
fileSystemId
- The ID of the file system for which to create the mount target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetId
The ID of the subnet to add the mount target in.
- Parameters:
subnetId
- The ID of the subnet to add the mount target in.
-
getSubnetId
The ID of the subnet to add the mount target in.
- Returns:
- The ID of the subnet to add the mount target in.
-
withSubnetId
The ID of the subnet to add the mount target in.
- Parameters:
subnetId
- The ID of the subnet to add the mount target in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIpAddress
A valid IPv4 address within the address range of the specified subnet.
- Parameters:
ipAddress
- A valid IPv4 address within the address range of the specified subnet.
-
getIpAddress
A valid IPv4 address within the address range of the specified subnet.
- Returns:
- A valid IPv4 address within the address range of the specified subnet.
-
withIpAddress
A valid IPv4 address within the address range of the specified subnet.
- Parameters:
ipAddress
- A valid IPv4 address within the address range of the specified subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSecurityGroups
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
- Returns:
- Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
-
setSecurityGroups
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
- Parameters:
securityGroups
- Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
-
withSecurityGroups
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)
orwithSecurityGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
securityGroups
- Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSecurityGroups
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
- Parameters:
securityGroups
- Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-