Struct aws_sdk_imagebuilder::operation::create_distribution_configuration::CreateDistributionConfigurationInput
source · #[non_exhaustive]pub struct CreateDistributionConfigurationInput {
pub name: Option<String>,
pub description: Option<String>,
pub distributions: Option<Vec<Distribution>>,
pub tags: Option<HashMap<String, String>>,
pub client_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the distribution configuration.
description: Option<String>
The description of the distribution configuration.
distributions: Option<Vec<Distribution>>
The distributions of the distribution configuration.
The tags of the distribution configuration.
client_token: Option<String>
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
Implementations§
source§impl CreateDistributionConfigurationInput
impl CreateDistributionConfigurationInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the distribution configuration.
sourcepub fn distributions(&self) -> &[Distribution]
pub fn distributions(&self) -> &[Distribution]
The distributions of the distribution configuration.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .distributions.is_none()
.
The tags of the distribution configuration.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
source§impl CreateDistributionConfigurationInput
impl CreateDistributionConfigurationInput
sourcepub fn builder() -> CreateDistributionConfigurationInputBuilder
pub fn builder() -> CreateDistributionConfigurationInputBuilder
Creates a new builder-style object to manufacture CreateDistributionConfigurationInput
.
Trait Implementations§
source§impl Clone for CreateDistributionConfigurationInput
impl Clone for CreateDistributionConfigurationInput
source§fn clone(&self) -> CreateDistributionConfigurationInput
fn clone(&self) -> CreateDistributionConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateDistributionConfigurationInput
impl PartialEq for CreateDistributionConfigurationInput
source§fn eq(&self, other: &CreateDistributionConfigurationInput) -> bool
fn eq(&self, other: &CreateDistributionConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDistributionConfigurationInput
Auto Trait Implementations§
impl Freeze for CreateDistributionConfigurationInput
impl RefUnwindSafe for CreateDistributionConfigurationInput
impl Send for CreateDistributionConfigurationInput
impl Sync for CreateDistributionConfigurationInput
impl Unpin for CreateDistributionConfigurationInput
impl UnwindSafe for CreateDistributionConfigurationInput
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