#[non_exhaustive]pub struct DistributionConfiguration {
pub arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub distributions: Option<Vec<Distribution>>,
pub timeout_minutes: i32,
pub date_created: Option<String>,
pub date_updated: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
A distribution configuration.
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.arn: Option<String>
The Amazon Resource Name (ARN) of the distribution configuration.
name: Option<String>
The name of the distribution configuration.
description: Option<String>
The description of the distribution configuration.
distributions: Option<Vec<Distribution>>
The distribution objects that apply Region-specific settings for the deployment of the image to targeted Regions.
timeout_minutes: i32
The maximum duration in minutes for this distribution configuration.
date_created: Option<String>
The date on which this distribution configuration was created.
date_updated: Option<String>
The date on which this distribution configuration was last updated.
The tags of the distribution configuration.
Implementations§
source§impl DistributionConfiguration
impl DistributionConfiguration
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the distribution configuration.
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 distribution objects that apply Region-specific settings for the deployment of the image to targeted Regions.
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()
.
sourcepub fn timeout_minutes(&self) -> i32
pub fn timeout_minutes(&self) -> i32
The maximum duration in minutes for this distribution configuration.
sourcepub fn date_created(&self) -> Option<&str>
pub fn date_created(&self) -> Option<&str>
The date on which this distribution configuration was created.
sourcepub fn date_updated(&self) -> Option<&str>
pub fn date_updated(&self) -> Option<&str>
The date on which this distribution configuration was last updated.
The tags of the distribution configuration.
source§impl DistributionConfiguration
impl DistributionConfiguration
sourcepub fn builder() -> DistributionConfigurationBuilder
pub fn builder() -> DistributionConfigurationBuilder
Creates a new builder-style object to manufacture DistributionConfiguration
.
Trait Implementations§
source§impl Clone for DistributionConfiguration
impl Clone for DistributionConfiguration
source§fn clone(&self) -> DistributionConfiguration
fn clone(&self) -> DistributionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DistributionConfiguration
impl Debug for DistributionConfiguration
source§impl PartialEq for DistributionConfiguration
impl PartialEq for DistributionConfiguration
source§fn eq(&self, other: &DistributionConfiguration) -> bool
fn eq(&self, other: &DistributionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DistributionConfiguration
Auto Trait Implementations§
impl Freeze for DistributionConfiguration
impl RefUnwindSafe for DistributionConfiguration
impl Send for DistributionConfiguration
impl Sync for DistributionConfiguration
impl Unpin for DistributionConfiguration
impl UnwindSafe for DistributionConfiguration
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