#[non_exhaustive]pub struct AwsCloudFrontDistributionOriginsBuilder { /* private fields */ }
Expand description
A builder for AwsCloudFrontDistributionOrigins
.
Implementations§
source§impl AwsCloudFrontDistributionOriginsBuilder
impl AwsCloudFrontDistributionOriginsBuilder
sourcepub fn items(self, input: AwsCloudFrontDistributionOriginItem) -> Self
pub fn items(self, input: AwsCloudFrontDistributionOriginItem) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
A complex type that contains origins or origin groups for this distribution.
sourcepub fn set_items(
self,
input: Option<Vec<AwsCloudFrontDistributionOriginItem>>
) -> Self
pub fn set_items( self, input: Option<Vec<AwsCloudFrontDistributionOriginItem>> ) -> Self
A complex type that contains origins or origin groups for this distribution.
sourcepub fn get_items(&self) -> &Option<Vec<AwsCloudFrontDistributionOriginItem>>
pub fn get_items(&self) -> &Option<Vec<AwsCloudFrontDistributionOriginItem>>
A complex type that contains origins or origin groups for this distribution.
sourcepub fn build(self) -> AwsCloudFrontDistributionOrigins
pub fn build(self) -> AwsCloudFrontDistributionOrigins
Consumes the builder and constructs a AwsCloudFrontDistributionOrigins
.
Trait Implementations§
source§impl Clone for AwsCloudFrontDistributionOriginsBuilder
impl Clone for AwsCloudFrontDistributionOriginsBuilder
source§fn clone(&self) -> AwsCloudFrontDistributionOriginsBuilder
fn clone(&self) -> AwsCloudFrontDistributionOriginsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AwsCloudFrontDistributionOriginsBuilder
impl Default for AwsCloudFrontDistributionOriginsBuilder
source§fn default() -> AwsCloudFrontDistributionOriginsBuilder
fn default() -> AwsCloudFrontDistributionOriginsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsCloudFrontDistributionOriginsBuilder
impl PartialEq for AwsCloudFrontDistributionOriginsBuilder
source§fn eq(&self, other: &AwsCloudFrontDistributionOriginsBuilder) -> bool
fn eq(&self, other: &AwsCloudFrontDistributionOriginsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsCloudFrontDistributionOriginsBuilder
Auto Trait Implementations§
impl Freeze for AwsCloudFrontDistributionOriginsBuilder
impl RefUnwindSafe for AwsCloudFrontDistributionOriginsBuilder
impl Send for AwsCloudFrontDistributionOriginsBuilder
impl Sync for AwsCloudFrontDistributionOriginsBuilder
impl Unpin for AwsCloudFrontDistributionOriginsBuilder
impl UnwindSafe for AwsCloudFrontDistributionOriginsBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.