Struct aws_sdk_datasync::operation::update_location_object_storage::UpdateLocationObjectStorageInput
source · #[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>>,
pub server_certificate: Option<Blob>,
}
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>
Specifies the ARN of the object storage system location that you're updating.
server_port: Option<i32>
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
server_protocol: Option<ObjectStorageServerProtocol>
Specifies the protocol that your object storage server uses to communicate.
subdirectory: Option<String>
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.
access_key: Option<String>
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.
secret_key: Option<String>
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.
agent_arns: Option<Vec<String>>
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
server_certificate: Option<Blob>
Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem
file (for example, file:///home/user/.ssh/storage_sys_certificate.pem
). The certificate can be up to 32768 bytes (before Base64 encoding).
To use this parameter, configure ServerProtocol
to HTTPS
.
Updating the certificate doesn't interfere with tasks that you have in progress.
Implementations§
source§impl UpdateLocationObjectStorageInput
impl UpdateLocationObjectStorageInput
sourcepub fn location_arn(&self) -> Option<&str>
pub fn location_arn(&self) -> Option<&str>
Specifies the ARN of the object storage system location that you're updating.
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 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.
sourcepub fn server_certificate(&self) -> Option<&Blob>
pub fn server_certificate(&self) -> Option<&Blob>
Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem
file (for example, file:///home/user/.ssh/storage_sys_certificate.pem
). The certificate can be up to 32768 bytes (before Base64 encoding).
To use this parameter, configure ServerProtocol
to HTTPS
.
Updating the certificate doesn't interfere with tasks that you have in progress.
source§impl UpdateLocationObjectStorageInput
impl UpdateLocationObjectStorageInput
sourcepub fn builder() -> UpdateLocationObjectStorageInputBuilder
pub fn builder() -> UpdateLocationObjectStorageInputBuilder
Creates a new builder-style object to manufacture UpdateLocationObjectStorageInput
.
Trait Implementations§
source§impl Clone for UpdateLocationObjectStorageInput
impl Clone for UpdateLocationObjectStorageInput
source§fn clone(&self) -> UpdateLocationObjectStorageInput
fn clone(&self) -> UpdateLocationObjectStorageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateLocationObjectStorageInput
impl PartialEq for UpdateLocationObjectStorageInput
source§fn eq(&self, other: &UpdateLocationObjectStorageInput) -> bool
fn eq(&self, other: &UpdateLocationObjectStorageInput) -> bool
self
and other
values to be equal, and is used
by ==
.