Struct aws_sdk_datasync::operation::describe_location_object_storage::builders::DescribeLocationObjectStorageOutputBuilder
source · #[non_exhaustive]pub struct DescribeLocationObjectStorageOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeLocationObjectStorageOutput
.
Implementations§
source§impl DescribeLocationObjectStorageOutputBuilder
impl DescribeLocationObjectStorageOutputBuilder
sourcepub fn location_arn(self, input: impl Into<String>) -> Self
pub fn location_arn(self, input: impl Into<String>) -> Self
The ARN of the object storage system location.
sourcepub fn set_location_arn(self, input: Option<String>) -> Self
pub fn set_location_arn(self, input: Option<String>) -> Self
The ARN of the object storage system location.
sourcepub fn get_location_arn(&self) -> &Option<String>
pub fn get_location_arn(&self) -> &Option<String>
The ARN of the object storage system location.
sourcepub fn location_uri(self, input: impl Into<String>) -> Self
pub fn location_uri(self, input: impl Into<String>) -> Self
The URL of the object storage system location.
sourcepub fn set_location_uri(self, input: Option<String>) -> Self
pub fn set_location_uri(self, input: Option<String>) -> Self
The URL of the object storage system location.
sourcepub fn get_location_uri(&self) -> &Option<String>
pub fn get_location_uri(&self) -> &Option<String>
The URL of the object storage system location.
sourcepub fn access_key(self, input: impl Into<String>) -> Self
pub fn access_key(self, input: impl Into<String>) -> Self
The access key (for example, a user name) required to authenticate with the object storage system.
sourcepub fn set_access_key(self, input: Option<String>) -> Self
pub fn set_access_key(self, input: Option<String>) -> Self
The access key (for example, a user name) required to authenticate with the object storage system.
sourcepub fn get_access_key(&self) -> &Option<String>
pub fn get_access_key(&self) -> &Option<String>
The access key (for example, a user name) required to authenticate with the object storage system.
sourcepub fn server_port(self, input: i32) -> Self
pub fn server_port(self, input: i32) -> Self
The port that your object storage server accepts inbound network traffic on (for example, port 443).
sourcepub fn set_server_port(self, input: Option<i32>) -> Self
pub fn set_server_port(self, input: Option<i32>) -> Self
The port that your object storage server accepts inbound network traffic on (for example, port 443).
sourcepub fn get_server_port(&self) -> &Option<i32>
pub fn get_server_port(&self) -> &Option<i32>
The port that your object storage server accepts inbound network traffic on (for example, port 443).
sourcepub fn server_protocol(self, input: ObjectStorageServerProtocol) -> Self
pub fn server_protocol(self, input: ObjectStorageServerProtocol) -> Self
The protocol that your object storage system uses to communicate.
sourcepub fn set_server_protocol(
self,
input: Option<ObjectStorageServerProtocol>
) -> Self
pub fn set_server_protocol( self, input: Option<ObjectStorageServerProtocol> ) -> Self
The protocol that your object storage system uses to communicate.
sourcepub fn get_server_protocol(&self) -> &Option<ObjectStorageServerProtocol>
pub fn get_server_protocol(&self) -> &Option<ObjectStorageServerProtocol>
The protocol that your object storage system uses to communicate.
sourcepub fn agent_arns(self, input: impl Into<String>) -> Self
pub fn agent_arns(self, input: impl Into<String>) -> Self
Appends an item to agent_arns
.
To override the contents of this collection use set_agent_arns
.
The ARNs of the DataSync agents that can securely connect with your location.
sourcepub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
The ARNs of the DataSync agents that can securely connect with your location.
sourcepub fn get_agent_arns(&self) -> &Option<Vec<String>>
pub fn get_agent_arns(&self) -> &Option<Vec<String>>
The ARNs of the DataSync agents that can securely connect with your location.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the location was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that the location was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time that the location was created.
sourcepub fn server_certificate(self, input: Blob) -> Self
pub fn server_certificate(self, input: Blob) -> Self
The self-signed certificate that DataSync uses to securely authenticate with your object storage system.
sourcepub fn set_server_certificate(self, input: Option<Blob>) -> Self
pub fn set_server_certificate(self, input: Option<Blob>) -> Self
The self-signed certificate that DataSync uses to securely authenticate with your object storage system.
sourcepub fn get_server_certificate(&self) -> &Option<Blob>
pub fn get_server_certificate(&self) -> &Option<Blob>
The self-signed certificate that DataSync uses to securely authenticate with your object storage system.
sourcepub fn build(self) -> DescribeLocationObjectStorageOutput
pub fn build(self) -> DescribeLocationObjectStorageOutput
Consumes the builder and constructs a DescribeLocationObjectStorageOutput
.
Trait Implementations§
source§impl Clone for DescribeLocationObjectStorageOutputBuilder
impl Clone for DescribeLocationObjectStorageOutputBuilder
source§fn clone(&self) -> DescribeLocationObjectStorageOutputBuilder
fn clone(&self) -> DescribeLocationObjectStorageOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeLocationObjectStorageOutputBuilder
impl Default for DescribeLocationObjectStorageOutputBuilder
source§fn default() -> DescribeLocationObjectStorageOutputBuilder
fn default() -> DescribeLocationObjectStorageOutputBuilder
source§impl PartialEq for DescribeLocationObjectStorageOutputBuilder
impl PartialEq for DescribeLocationObjectStorageOutputBuilder
source§fn eq(&self, other: &DescribeLocationObjectStorageOutputBuilder) -> bool
fn eq(&self, other: &DescribeLocationObjectStorageOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.