Struct aws_sdk_route53::operation::create_vpc_association_authorization::builders::CreateVPCAssociationAuthorizationFluentBuilder
source · pub struct CreateVPCAssociationAuthorizationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateVPCAssociationAuthorization
.
Authorizes the Amazon Web Services account that created a specified VPC to submit an AssociateVPCWithHostedZone
request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization
request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an AssociateVPCWithHostedZone
request.
If you want to associate multiple VPCs that you created by using one account with a hosted zone that you created by using a different account, you must submit one authorization request for each VPC.
Implementations§
source§impl CreateVPCAssociationAuthorizationFluentBuilder
impl CreateVPCAssociationAuthorizationFluentBuilder
sourcepub fn as_input(&self) -> &CreateVpcAssociationAuthorizationInputBuilder
pub fn as_input(&self) -> &CreateVpcAssociationAuthorizationInputBuilder
Access the CreateVPCAssociationAuthorization as a reference.
sourcepub async fn send(
self
) -> Result<CreateVpcAssociationAuthorizationOutput, SdkError<CreateVPCAssociationAuthorizationError, HttpResponse>>
pub async fn send( self ) -> Result<CreateVpcAssociationAuthorizationOutput, SdkError<CreateVPCAssociationAuthorizationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateVpcAssociationAuthorizationOutput, CreateVPCAssociationAuthorizationError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateVpcAssociationAuthorizationOutput, CreateVPCAssociationAuthorizationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn hosted_zone_id(self, input: impl Into<String>) -> Self
pub fn hosted_zone_id(self, input: impl Into<String>) -> Self
The ID of the private hosted zone that you want to authorize associating a VPC with.
sourcepub fn set_hosted_zone_id(self, input: Option<String>) -> Self
pub fn set_hosted_zone_id(self, input: Option<String>) -> Self
The ID of the private hosted zone that you want to authorize associating a VPC with.
sourcepub fn get_hosted_zone_id(&self) -> &Option<String>
pub fn get_hosted_zone_id(&self) -> &Option<String>
The ID of the private hosted zone that you want to authorize associating a VPC with.
sourcepub fn vpc(self, input: Vpc) -> Self
pub fn vpc(self, input: Vpc) -> Self
A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.
Trait Implementations§
source§impl Clone for CreateVPCAssociationAuthorizationFluentBuilder
impl Clone for CreateVPCAssociationAuthorizationFluentBuilder
source§fn clone(&self) -> CreateVPCAssociationAuthorizationFluentBuilder
fn clone(&self) -> CreateVPCAssociationAuthorizationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateVPCAssociationAuthorizationFluentBuilder
impl !RefUnwindSafe for CreateVPCAssociationAuthorizationFluentBuilder
impl Send for CreateVPCAssociationAuthorizationFluentBuilder
impl Sync for CreateVPCAssociationAuthorizationFluentBuilder
impl Unpin for CreateVPCAssociationAuthorizationFluentBuilder
impl !UnwindSafe for CreateVPCAssociationAuthorizationFluentBuilder
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