Struct aws_sdk_drs::operation::create_extended_source_server::builders::CreateExtendedSourceServerInputBuilder
source · #[non_exhaustive]pub struct CreateExtendedSourceServerInputBuilder { /* private fields */ }
Expand description
A builder for CreateExtendedSourceServerInput
.
Implementations§
source§impl CreateExtendedSourceServerInputBuilder
impl CreateExtendedSourceServerInputBuilder
sourcepub fn source_server_arn(self, input: impl Into<String>) -> Self
pub fn source_server_arn(self, input: impl Into<String>) -> Self
This defines the ARN of the source server in staging Account based on which you want to create an extended source server.
This field is required.sourcepub fn set_source_server_arn(self, input: Option<String>) -> Self
pub fn set_source_server_arn(self, input: Option<String>) -> Self
This defines the ARN of the source server in staging Account based on which you want to create an extended source server.
sourcepub fn get_source_server_arn(&self) -> &Option<String>
pub fn get_source_server_arn(&self) -> &Option<String>
This defines the ARN of the source server in staging Account based on which you want to create an extended source server.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A list of tags associated with the extended source server.
A list of tags associated with the extended source server.
A list of tags associated with the extended source server.
sourcepub fn build(self) -> Result<CreateExtendedSourceServerInput, BuildError>
pub fn build(self) -> Result<CreateExtendedSourceServerInput, BuildError>
Consumes the builder and constructs a CreateExtendedSourceServerInput
.
source§impl CreateExtendedSourceServerInputBuilder
impl CreateExtendedSourceServerInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateExtendedSourceServerOutput, SdkError<CreateExtendedSourceServerError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateExtendedSourceServerOutput, SdkError<CreateExtendedSourceServerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateExtendedSourceServerInputBuilder
impl Clone for CreateExtendedSourceServerInputBuilder
source§fn clone(&self) -> CreateExtendedSourceServerInputBuilder
fn clone(&self) -> CreateExtendedSourceServerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateExtendedSourceServerInputBuilder
impl Default for CreateExtendedSourceServerInputBuilder
source§fn default() -> CreateExtendedSourceServerInputBuilder
fn default() -> CreateExtendedSourceServerInputBuilder
source§impl PartialEq for CreateExtendedSourceServerInputBuilder
impl PartialEq for CreateExtendedSourceServerInputBuilder
source§fn eq(&self, other: &CreateExtendedSourceServerInputBuilder) -> bool
fn eq(&self, other: &CreateExtendedSourceServerInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateExtendedSourceServerInputBuilder
Auto Trait Implementations§
impl Freeze for CreateExtendedSourceServerInputBuilder
impl RefUnwindSafe for CreateExtendedSourceServerInputBuilder
impl Send for CreateExtendedSourceServerInputBuilder
impl Sync for CreateExtendedSourceServerInputBuilder
impl Unpin for CreateExtendedSourceServerInputBuilder
impl UnwindSafe for CreateExtendedSourceServerInputBuilder
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> 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