Interface DescribeLocationObjectStorageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeLocationObjectStorageResponse.Builder,
,DescribeLocationObjectStorageResponse> DataSyncResponse.Builder
,SdkBuilder<DescribeLocationObjectStorageResponse.Builder,
,DescribeLocationObjectStorageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeLocationObjectStorageResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe access key (for example, a user name) required to authenticate with the object storage system.The ARNs of the DataSync agents that can connect with your object storage system.agentArns
(Collection<String> agentArns) The ARNs of the DataSync agents that can connect with your object storage system.cmkSecretConfig
(Consumer<CmkSecretConfig.Builder> 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.cmkSecretConfig
(CmkSecretConfig 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.creationTime
(Instant creationTime) The time that the location was created.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.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.locationArn
(String locationArn) The ARN of the object storage system location.locationUri
(String locationUri) The URI of the object storage system location.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.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.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).serverPort
(Integer serverPort) The port that your object storage server accepts inbound network traffic on (for example, port 443).serverProtocol
(String serverProtocol) The protocol that your object storage system uses to communicate.serverProtocol
(ObjectStorageServerProtocol serverProtocol) The protocol that your object storage system uses to communicate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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
DescribeLocationObjectStorageResponse.Builder serverProtocol(ObjectStorageServerProtocol 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
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 theManagedSecretConfig.Builder
avoiding the need to create one manually viaManagedSecretConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomanagedSecretConfig(ManagedSecretConfig)
.- Parameters:
managedSecretConfig
- a consumer that will call methods onManagedSecretConfig.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
default DescribeLocationObjectStorageResponse.Builder cmkSecretConfig(Consumer<CmkSecretConfig.Builder> 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 theCmkSecretConfig.Builder
avoiding the need to create one manually viaCmkSecretConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocmkSecretConfig(CmkSecretConfig)
.- Parameters:
cmkSecretConfig
- a consumer that will call methods onCmkSecretConfig.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 theCustomSecretConfig.Builder
avoiding the need to create one manually viaCustomSecretConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomSecretConfig(CustomSecretConfig)
.- Parameters:
customSecretConfig
- a consumer that will call methods onCustomSecretConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-