pub struct CreateLocationObjectStorage { /* private fields */ }
Expand description

Fluent builder constructing a request to CreateLocationObjectStorage.

Creates an endpoint for an object storage system that DataSync can access for a transfer. For more information, see Creating a location for object storage.

Implementations

Sends the request and returns the response.

If an error occurs, an SdkError will be returned with additional details that can be matched against.

By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.

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.

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.

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

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

Specifies the protocol that your object storage server uses to communicate.

Specifies the protocol that your object storage server uses to communicate.

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.

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.

Specifies the name of the object storage bucket involved in the transfer.

Specifies the name of the object storage bucket involved in the transfer.

Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.

Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.

Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.

Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.

Appends an item to AgentArns.

To override the contents of this collection use set_agent_arns.

Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.

Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.

Appends an item to Tags.

To override the contents of this collection use set_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.

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.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more