#[non_exhaustive]pub struct CreateLocationObjectStorageInput { /* private fields */ }
Expand description
CreateLocationObjectStorageRequest
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>
Specifies the domain name or IP address of the object storage server. A DataSync 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>
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
sourcepub fn server_protocol(&self) -> Option<&ObjectStorageServerProtocol>
pub fn server_protocol(&self) -> Option<&ObjectStorageServerProtocol>
Specifies the protocol that your object storage server uses to communicate.
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.
sourcepub fn bucket_name(&self) -> Option<&str>
pub fn bucket_name(&self) -> Option<&str>
Specifies the name of the object storage bucket involved in the transfer.
sourcepub fn access_key(&self) -> Option<&str>
pub fn access_key(&self) -> Option<&str>
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.
sourcepub fn secret_key(&self) -> Option<&str>
pub fn secret_key(&self) -> Option<&str>
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.
sourcepub fn agent_arns(&self) -> Option<&[String]>
pub fn agent_arns(&self) -> Option<&[String]>
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
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> 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