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