Struct aws_sdk_datasync::input::UpdateLocationObjectStorageInput[][src]

#[non_exhaustive]
pub struct UpdateLocationObjectStorageInput { pub location_arn: Option<String>, pub server_port: Option<i32>, pub server_protocol: Option<ObjectStorageServerProtocol>, pub subdirectory: Option<String>, pub access_key: Option<String>, pub secret_key: Option<String>, pub agent_arns: Option<Vec<String>>, }

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.
location_arn: Option<String>

The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.

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.

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.

Implementations

Consumes the builder and constructs an Operation<UpdateLocationObjectStorage>

Creates a new builder-style object to manufacture UpdateLocationObjectStorageInput

The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.

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.

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.

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

Performs the conversion.

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

Performs the conversion.

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