public class CreateMountTargetRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fileSystemId
The ID of the file system for which to create the mount target.
|
private java.lang.String |
ipAddress
A valid IPv4 address within the address range of the specified subnet.
|
private SdkInternalList<java.lang.String> |
securityGroups
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".
|
private java.lang.String |
subnetId
The ID of the subnet to add the mount target in.
|
NOOP
Constructor and Description |
---|
CreateMountTargetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMountTargetRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFileSystemId()
The ID of the file system for which to create the mount target.
|
java.lang.String |
getIpAddress()
A valid IPv4 address within the address range of the specified subnet.
|
java.util.List<java.lang.String> |
getSecurityGroups()
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".
|
java.lang.String |
getSubnetId()
The ID of the subnet to add the mount target in.
|
int |
hashCode() |
void |
setFileSystemId(java.lang.String fileSystemId)
The ID of the file system for which to create the mount target.
|
void |
setIpAddress(java.lang.String ipAddress)
A valid IPv4 address within the address range of the specified subnet.
|
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".
|
void |
setSubnetId(java.lang.String subnetId)
The ID of the subnet to add the mount target in.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateMountTargetRequest |
withFileSystemId(java.lang.String fileSystemId)
The ID of the file system for which to create the mount target.
|
CreateMountTargetRequest |
withIpAddress(java.lang.String ipAddress)
A valid IPv4 address within the address range of the specified subnet.
|
CreateMountTargetRequest |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".
|
CreateMountTargetRequest |
withSecurityGroups(java.lang.String... securityGroups)
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx".
|
CreateMountTargetRequest |
withSubnetId(java.lang.String subnetId)
The ID of the subnet to add the mount target in.
|
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
private java.lang.String fileSystemId
The ID of the file system for which to create the mount target.
private java.lang.String subnetId
The ID of the subnet to add the mount target in.
private java.lang.String ipAddress
A valid IPv4 address within the address range of the specified subnet.
private SdkInternalList<java.lang.String> securityGroups
Up to 5 VPC security group IDs, of the form "sg-xxxxxxxx". These must be for the same VPC as subnet specified.
public void setFileSystemId(java.lang.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 java.lang.String getFileSystemId()
The ID of the file system for which to create the mount target.
public CreateMountTargetRequest withFileSystemId(java.lang.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(java.lang.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 java.lang.String getSubnetId()
The ID of the subnet to add the mount target in.
public CreateMountTargetRequest withSubnetId(java.lang.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(java.lang.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 java.lang.String getIpAddress()
A valid IPv4 address within the address range of the specified subnet.
public CreateMountTargetRequest withIpAddress(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateMountTargetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()