Class CreateMountTargetRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticfilesystem.model.CreateMountTargetRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateMountTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateMountTargetRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".CreateMountTargetRequest
withSecurityGroups(Collection<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.-
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
-
-
-
-
Method Detail
-
setFileSystemId
public void setFileSystemId(String fileSystemId)
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
public String 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
public CreateMountTargetRequest withFileSystemId(String fileSystemId)
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
public void setSubnetId(String subnetId)
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
public String 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
public CreateMountTargetRequest withSubnetId(String subnetId)
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
public void setIpAddress(String ipAddress)
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
public String 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
public CreateMountTargetRequest withIpAddress(String ipAddress)
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
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.
- Returns:
- Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
-
setSecurityGroups
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.
- 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
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)
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
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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateMountTargetRequest 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:
Object.clone()
-
-