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
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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateLocationObjectStorage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateLocationObjectStorage, AwsErrorRetryPolicy>, BuildError>
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for UpdateLocationObjectStorageInput
impl Sync for UpdateLocationObjectStorageInput
impl Unpin for UpdateLocationObjectStorageInput
Blanket Implementations
Mutably borrows from an owned value. Read more
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