Class CreateMountTargetRequest

    • Constructor Detail

      • CreateMountTargetRequest

        public CreateMountTargetRequest()
    • 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) 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object