public static interface CreateLocationObjectStorageRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateLocationObjectStorageRequest.Builder,CreateLocationObjectStorageRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateLocationObjectStorageRequest.Builder |
accessKey(String accessKey)
Specifies the access key (for example, a user name) if credentials are required to authenticate with the
object storage server.
|
CreateLocationObjectStorageRequest.Builder |
agentArns(Collection<String> agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your
location.
|
CreateLocationObjectStorageRequest.Builder |
agentArns(String... agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your
location.
|
CreateLocationObjectStorageRequest.Builder |
bucketName(String bucketName)
Specifies the name of the object storage bucket involved in the transfer.
|
CreateLocationObjectStorageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateLocationObjectStorageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateLocationObjectStorageRequest.Builder |
secretKey(String secretKey)
Specifies the secret key (for example, a password) if credentials are required to authenticate with the
object storage server.
|
CreateLocationObjectStorageRequest.Builder |
serverHostname(String serverHostname)
Specifies the domain name or IP address of the object storage server.
|
CreateLocationObjectStorageRequest.Builder |
serverPort(Integer serverPort)
Specifies the port that your object storage server accepts inbound network traffic on (for example, port
443).
|
CreateLocationObjectStorageRequest.Builder |
serverProtocol(ObjectStorageServerProtocol serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
|
CreateLocationObjectStorageRequest.Builder |
serverProtocol(String serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
|
CreateLocationObjectStorageRequest.Builder |
subdirectory(String subdirectory)
Specifies the object prefix for your object storage server.
|
CreateLocationObjectStorageRequest.Builder |
tags(Collection<TagListEntry> tags)
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
CreateLocationObjectStorageRequest.Builder |
tags(Consumer<TagListEntry.Builder>... tags)
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
CreateLocationObjectStorageRequest.Builder |
tags(TagListEntry... tags)
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLocationObjectStorageRequest.Builder serverHostname(String serverHostname)
Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname to mount the object storage server in a network.
serverHostname - Specifies the domain name or IP address of the object storage server. A DataSync agent uses this
hostname to mount the object storage server in a network.CreateLocationObjectStorageRequest.Builder serverPort(Integer serverPort)
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
serverPort - Specifies the port that your object storage server accepts inbound network traffic on (for example,
port 443).CreateLocationObjectStorageRequest.Builder serverProtocol(String serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
serverProtocol - Specifies the protocol that your object storage server uses to communicate.ObjectStorageServerProtocol,
ObjectStorageServerProtocolCreateLocationObjectStorageRequest.Builder serverProtocol(ObjectStorageServerProtocol serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
serverProtocol - Specifies the protocol that your object storage server uses to communicate.ObjectStorageServerProtocol,
ObjectStorageServerProtocolCreateLocationObjectStorageRequest.Builder subdirectory(String subdirectory)
Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.
subdirectory - Specifies the object prefix for your object storage server. If this is a source location, DataSync
only copies objects with this prefix. If this is a destination location, DataSync writes all objects
with this prefix.CreateLocationObjectStorageRequest.Builder bucketName(String bucketName)
Specifies the name of the object storage bucket involved in the transfer.
bucketName - Specifies the name of the object storage bucket involved in the transfer.CreateLocationObjectStorageRequest.Builder accessKey(String accessKey)
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.
accessKey - Specifies the access key (for example, a user name) if credentials are required to authenticate with
the object storage server.CreateLocationObjectStorageRequest.Builder secretKey(String secretKey)
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.
secretKey - Specifies the secret key (for example, a password) if credentials are required to authenticate with
the object storage server.CreateLocationObjectStorageRequest.Builder agentArns(Collection<String> agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
agentArns - Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your
location.CreateLocationObjectStorageRequest.Builder agentArns(String... agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
agentArns - Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your
location.CreateLocationObjectStorageRequest.Builder tags(Collection<TagListEntry> tags)
Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
tags - Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help
you manage, filter, and search for your resources. We recommend creating a name tag for your location.CreateLocationObjectStorageRequest.Builder tags(TagListEntry... tags)
Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
tags - Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help
you manage, filter, and search for your resources. We recommend creating a name tag for your location.CreateLocationObjectStorageRequest.Builder tags(Consumer<TagListEntry.Builder>... tags)
Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
This is a convenience method that creates an instance of theTagListEntry.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.
tags - a consumer that will call methods on
TagListEntry.Builder#tags(java.util.Collection) CreateLocationObjectStorageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLocationObjectStorageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.