Struct aws_sdk_datasync::input::CreateLocationObjectStorageInput [−][src]
#[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
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 host name 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.
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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLocationObjectStorage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLocationObjectStorage, AwsErrorRetryPolicy>, BuildError>
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 host name 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
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 CreateLocationObjectStorageInput
impl Sync for CreateLocationObjectStorageInput
impl Unpin for CreateLocationObjectStorageInput
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