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 ==
.