#[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
sourceimpl UpdateLocationObjectStorageInput
impl UpdateLocationObjectStorageInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateLocationObjectStorageInput
sourceimpl UpdateLocationObjectStorageInput
impl UpdateLocationObjectStorageInput
sourcepub fn location_arn(&self) -> Option<&str>
pub fn location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.
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 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.
Trait Implementations
sourceimpl Clone for UpdateLocationObjectStorageInput
impl Clone for UpdateLocationObjectStorageInput
sourcefn clone(&self) -> UpdateLocationObjectStorageInput
fn clone(&self) -> UpdateLocationObjectStorageInput
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<UpdateLocationObjectStorageInput> for UpdateLocationObjectStorageInput
impl PartialEq<UpdateLocationObjectStorageInput> for UpdateLocationObjectStorageInput
sourcefn eq(&self, other: &UpdateLocationObjectStorageInput) -> bool
fn eq(&self, other: &UpdateLocationObjectStorageInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateLocationObjectStorageInput) -> bool
fn ne(&self, other: &UpdateLocationObjectStorageInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateLocationObjectStorageInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateLocationObjectStorageInput
impl Send for UpdateLocationObjectStorageInput
impl Sync for UpdateLocationObjectStorageInput
impl Unpin for UpdateLocationObjectStorageInput
impl UnwindSafe for UpdateLocationObjectStorageInput
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