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 URI 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 URI of the object storage system location.
sourcepub fn get_location_uri(&self) -> &Option<String>
pub fn get_location_uri(&self) -> &Option<String>
The URI 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 connect with your object storage system.
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 connect with your object storage system.
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 connect with your object storage system.
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 certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA).
sourcepub fn set_server_certificate(self, input: Option<Blob>) -> Self
pub fn set_server_certificate(self, input: Option<Blob>) -> Self
The certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA).
sourcepub fn get_server_certificate(&self) -> &Option<Blob>
pub fn get_server_certificate(&self) -> &Option<Blob>
The certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA).
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 ==
.impl StructuralPartialEq for DescribeLocationObjectStorageOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeLocationObjectStorageOutputBuilder
impl RefUnwindSafe for DescribeLocationObjectStorageOutputBuilder
impl Send for DescribeLocationObjectStorageOutputBuilder
impl Sync for DescribeLocationObjectStorageOutputBuilder
impl Unpin for DescribeLocationObjectStorageOutputBuilder
impl UnwindSafe for DescribeLocationObjectStorageOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more