JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticfilesystem.model

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. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.

        Parameters:
        subnetId - The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
      • getSubnetId

        public String getSubnetId()

        The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.

        Returns:
        The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
      • withSubnetId

        public CreateMountTargetRequest withSubnetId(String subnetId)

        The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.

        Parameters:
        subnetId - The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIpAddress

        public void setIpAddress(String ipAddress)

        Valid IPv4 address within the address range of the specified subnet.

        Parameters:
        ipAddress - Valid IPv4 address within the address range of the specified subnet.
      • getIpAddress

        public String getIpAddress()

        Valid IPv4 address within the address range of the specified subnet.

        Returns:
        Valid IPv4 address within the address range of the specified subnet.
      • withIpAddress

        public CreateMountTargetRequest withIpAddress(String ipAddress)

        Valid IPv4 address within the address range of the specified subnet.

        Parameters:
        ipAddress - 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 five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.

        Returns:
        Up to five 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 five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.

        Parameters:
        securityGroups - Up to five 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 five 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 five 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 five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.

        Parameters:
        securityGroups - Up to five 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. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /