[][src]Struct rusoto_datasync::CreateLocationObjectStorageRequest

pub struct CreateLocationObjectStorageRequest {
    pub access_key: Option<String>,
    pub agent_arns: Vec<String>,
    pub bucket_name: String,
    pub secret_key: Option<String>,
    pub server_hostname: String,
    pub server_port: Option<i64>,
    pub server_protocol: Option<String>,
    pub subdirectory: Option<String>,
    pub tags: Option<Vec<TagListEntry>>,
}

CreateLocationObjectStorageRequest

Fields

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.

agent_arns: Vec<String>

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

bucket_name: String

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

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.

server_hostname: 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<i64>

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<String>

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.

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.

Trait Implementations

impl Clone for CreateLocationObjectStorageRequest[src]

impl Debug for CreateLocationObjectStorageRequest[src]

impl Default for CreateLocationObjectStorageRequest[src]

impl PartialEq<CreateLocationObjectStorageRequest> for CreateLocationObjectStorageRequest[src]

impl Serialize for CreateLocationObjectStorageRequest[src]

impl StructuralPartialEq for CreateLocationObjectStorageRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.