Struct aws_sdk_datasync::operation::update_location_object_storage::UpdateLocationObjectStorageInput
source · #[non_exhaustive]pub struct UpdateLocationObjectStorageInput { /* private fields */ }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.
source§impl UpdateLocationObjectStorageInput
impl UpdateLocationObjectStorageInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateLocationObjectStorage, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<UpdateLocationObjectStorage, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateLocationObjectStorage>
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<UpdateLocationObjectStorageInput> for UpdateLocationObjectStorageInput
impl PartialEq<UpdateLocationObjectStorageInput> 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 ==.