#[non_exhaustive]
pub struct CreateLocationObjectStorageInput { pub server_hostname: Option<String>, pub server_port: Option<i32>, pub server_protocol: Option<ObjectStorageServerProtocol>, pub subdirectory: Option<String>, pub bucket_name: Option<String>, pub access_key: Option<String>, pub secret_key: Option<String>, pub agent_arns: Option<Vec<String>>, pub tags: Option<Vec<TagListEntry>>, }
Expand description

CreateLocationObjectStorageRequest

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
server_hostname: Option<String>

The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this hostname to mount the object storage server in a network.

server_port: Option<i32>

The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.

server_protocol: Option<ObjectStorageServerProtocol>

The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

subdirectory: Option<String>

The subdirectory in the self-managed object storage server that is used to read data from.

bucket_name: Option<String>

The bucket on the self-managed object storage server that is used to read data from.

access_key: Option<String>

Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

secret_key: Option<String>

Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

agent_arns: Option<Vec<String>>

The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

tags: Option<Vec<TagListEntry>>

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

Implementations

Consumes the builder and constructs an Operation<CreateLocationObjectStorage>

Creates a new builder-style object to manufacture CreateLocationObjectStorageInput

The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this hostname to mount the object storage server in a network.

The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.

The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

The subdirectory in the self-managed object storage server that is used to read data from.

The bucket on the self-managed object storage server that is used to read data from.

Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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