#[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 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.
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
sourceimpl CreateLocationObjectStorageInput
impl CreateLocationObjectStorageInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateLocationObjectStorageInput
sourceimpl CreateLocationObjectStorageInput
impl CreateLocationObjectStorageInput
sourcepub fn server_hostname(&self) -> Option<&str>
pub fn server_hostname(&self) -> Option<&str>
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.
sourcepub fn server_port(&self) -> Option<i32>
pub fn server_port(&self) -> 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.
sourcepub fn server_protocol(&self) -> Option<&ObjectStorageServerProtocol>
pub fn server_protocol(&self) -> Option<&ObjectStorageServerProtocol>
The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
The subdirectory in the self-managed object storage server that is used to read data from.
sourcepub fn bucket_name(&self) -> Option<&str>
pub fn bucket_name(&self) -> Option<&str>
The bucket on the self-managed object storage server that is used to read data from.
sourcepub fn access_key(&self) -> Option<&str>
pub fn access_key(&self) -> Option<&str>
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.
sourcepub fn secret_key(&self) -> Option<&str>
pub fn secret_key(&self) -> Option<&str>
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.
sourcepub fn agent_arns(&self) -> Option<&[String]>
pub fn agent_arns(&self) -> Option<&[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.
Trait Implementations
sourceimpl Clone for CreateLocationObjectStorageInput
impl Clone for CreateLocationObjectStorageInput
sourcefn clone(&self) -> CreateLocationObjectStorageInput
fn clone(&self) -> CreateLocationObjectStorageInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<CreateLocationObjectStorageInput> for CreateLocationObjectStorageInput
impl PartialEq<CreateLocationObjectStorageInput> for CreateLocationObjectStorageInput
sourcefn eq(&self, other: &CreateLocationObjectStorageInput) -> bool
fn eq(&self, other: &CreateLocationObjectStorageInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateLocationObjectStorageInput) -> bool
fn ne(&self, other: &CreateLocationObjectStorageInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateLocationObjectStorageInput
Auto Trait Implementations
impl RefUnwindSafe for CreateLocationObjectStorageInput
impl Send for CreateLocationObjectStorageInput
impl Sync for CreateLocationObjectStorageInput
impl Unpin for CreateLocationObjectStorageInput
impl UnwindSafe for CreateLocationObjectStorageInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more