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