Interface CreateLocationFsxOntapRequest.Builder

  • Method Details

    • protocol

      Sets the value of the Protocol property for this object.
      Parameters:
      protocol - The new value for the Protocol property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      Sets the value of the Protocol property for this object. This is a convenience method that creates an instance of the FsxProtocol.Builder avoiding the need to create one manually via FsxProtocol.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to protocol(FsxProtocol).

      Parameters:
      protocol - a consumer that will call methods on FsxProtocol.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • securityGroupArns

      CreateLocationFsxOntapRequest.Builder securityGroupArns(Collection<String> securityGroupArns)

      Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.

      The security groups must allow outbound traffic on the following ports (depending on the protocol you use):

      • Network File System (NFS): TCP ports 111, 635, and 2049

      • Server Message Block (SMB): TCP port 445

      Your file system's security groups must also allow inbound traffic on the same ports.

      Parameters:
      securityGroupArns - Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.

      The security groups must allow outbound traffic on the following ports (depending on the protocol you use):

      • Network File System (NFS): TCP ports 111, 635, and 2049

      • Server Message Block (SMB): TCP port 445

      Your file system's security groups must also allow inbound traffic on the same ports.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupArns

      CreateLocationFsxOntapRequest.Builder securityGroupArns(String... securityGroupArns)

      Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.

      The security groups must allow outbound traffic on the following ports (depending on the protocol you use):

      • Network File System (NFS): TCP ports 111, 635, and 2049

      • Server Message Block (SMB): TCP port 445

      Your file system's security groups must also allow inbound traffic on the same ports.

      Parameters:
      securityGroupArns - Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.

      The security groups must allow outbound traffic on the following ports (depending on the protocol you use):

      • Network File System (NFS): TCP ports 111, 635, and 2049

      • Server Message Block (SMB): TCP port 445

      Your file system's security groups must also allow inbound traffic on the same ports.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageVirtualMachineArn

      CreateLocationFsxOntapRequest.Builder storageVirtualMachineArn(String storageVirtualMachineArn)

      Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.

      Parameters:
      storageVirtualMachineArn - Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subdirectory

      CreateLocationFsxOntapRequest.Builder subdirectory(String subdirectory)

      Specifies a path to the file share in the SVM where you want to transfer data to or from.

      You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares). For example, your mount path might be /vol1, /vol1/tree1, or /share1.

      Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.

      Parameters:
      subdirectory - Specifies a path to the file share in the SVM where you want to transfer data to or from.

      You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares). For example, your mount path might be /vol1, /vol1/tree1, or /share1.

      Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

      Parameters:
      tags - Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

      Parameters:
      tags - Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

      This is a convenience method that creates an instance of the TagListEntry.Builder avoiding the need to create one manually via TagListEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<TagListEntry>).

      Parameters:
      tags - a consumer that will call methods on TagListEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateLocationFsxOntapRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.