Interface DescribeLocationObjectStorageResponse.Builder

  • Method Details

    • locationArn

      The ARN of the object storage system location.

      Parameters:
      locationArn - The ARN of the object storage system location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locationUri

      The URI of the object storage system location.

      Parameters:
      locationUri - The URI of the object storage system location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessKey

      The access key (for example, a user name) required to authenticate with the object storage system.

      Parameters:
      accessKey - The access key (for example, a user name) required to authenticate with the object storage system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverPort

      The port that your object storage server accepts inbound network traffic on (for example, port 443).

      Parameters:
      serverPort - The port that your object storage server accepts inbound network traffic on (for example, port 443).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverProtocol

      DescribeLocationObjectStorageResponse.Builder serverProtocol(String serverProtocol)

      The protocol that your object storage system uses to communicate.

      Parameters:
      serverProtocol - The protocol that your object storage system uses to communicate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serverProtocol

      The protocol that your object storage system uses to communicate.

      Parameters:
      serverProtocol - The protocol that your object storage system uses to communicate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • agentArns

      The ARNs of the DataSync agents that can connect with your object storage system.

      Parameters:
      agentArns - The ARNs of the DataSync agents that can connect with your object storage system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentArns

      The ARNs of the DataSync agents that can connect with your object storage system.

      Parameters:
      agentArns - The ARNs of the DataSync agents that can connect with your object storage system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      The time that the location was created.

      Parameters:
      creationTime - The time that the location was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverCertificate

      DescribeLocationObjectStorageResponse.Builder serverCertificate(SdkBytes serverCertificate)

      The certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA).

      Parameters:
      serverCertificate - The certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • managedSecretConfig

      DescribeLocationObjectStorageResponse.Builder managedSecretConfig(ManagedSecretConfig managedSecretConfig)

      Describes configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.

      Parameters:
      managedSecretConfig - Describes configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • managedSecretConfig

      default DescribeLocationObjectStorageResponse.Builder managedSecretConfig(Consumer<ManagedSecretConfig.Builder> managedSecretConfig)

      Describes configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.

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

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

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

      Describes configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed KMS key.

      Parameters:
      cmkSecretConfig - Describes configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed KMS key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cmkSecretConfig

      Describes configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed KMS key.

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

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

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

      DescribeLocationObjectStorageResponse.Builder customSecretConfig(CustomSecretConfig customSecretConfig)

      Describes configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed KMS key.

      Parameters:
      customSecretConfig - Describes configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed KMS key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customSecretConfig

      default DescribeLocationObjectStorageResponse.Builder customSecretConfig(Consumer<CustomSecretConfig.Builder> customSecretConfig)

      Describes configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed KMS key.

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

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

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