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:
  • Constructor Details

    • CreateMountTargetRequest

      public CreateMountTargetRequest()
  • Method Details

    • 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) or withSecurityGroups(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: