Struct aws_sdk_appsync::operation::create_domain_name::builders::CreateDomainNameInputBuilder
source · #[non_exhaustive]pub struct CreateDomainNameInputBuilder { /* private fields */ }
Expand description
A builder for CreateDomainNameInput
.
Implementations§
source§impl CreateDomainNameInputBuilder
impl CreateDomainNameInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The domain name.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The domain name.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The domain name.
sourcepub fn certificate_arn(self, input: impl Into<String>) -> Self
pub fn certificate_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
This field is required.sourcepub fn set_certificate_arn(self, input: Option<String>) -> Self
pub fn set_certificate_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
sourcepub fn get_certificate_arn(&self) -> &Option<String>
pub fn get_certificate_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the DomainName
.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the DomainName
.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the DomainName
.
sourcepub fn build(self) -> Result<CreateDomainNameInput, BuildError>
pub fn build(self) -> Result<CreateDomainNameInput, BuildError>
Consumes the builder and constructs a CreateDomainNameInput
.
source§impl CreateDomainNameInputBuilder
impl CreateDomainNameInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDomainNameOutput, SdkError<CreateDomainNameError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDomainNameOutput, SdkError<CreateDomainNameError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDomainNameInputBuilder
impl Clone for CreateDomainNameInputBuilder
source§fn clone(&self) -> CreateDomainNameInputBuilder
fn clone(&self) -> CreateDomainNameInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDomainNameInputBuilder
impl Debug for CreateDomainNameInputBuilder
source§impl Default for CreateDomainNameInputBuilder
impl Default for CreateDomainNameInputBuilder
source§fn default() -> CreateDomainNameInputBuilder
fn default() -> CreateDomainNameInputBuilder
source§impl PartialEq for CreateDomainNameInputBuilder
impl PartialEq for CreateDomainNameInputBuilder
source§fn eq(&self, other: &CreateDomainNameInputBuilder) -> bool
fn eq(&self, other: &CreateDomainNameInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.