Struct aws_sdk_imagebuilder::model::distribution::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for Distribution
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The target Region.
sourcepub fn ami_distribution_configuration(
self,
input: AmiDistributionConfiguration
) -> Self
pub fn ami_distribution_configuration(
self,
input: AmiDistributionConfiguration
) -> Self
The specific AMI settings; for example, launch permissions or AMI tags.
sourcepub fn set_ami_distribution_configuration(
self,
input: Option<AmiDistributionConfiguration>
) -> Self
pub fn set_ami_distribution_configuration(
self,
input: Option<AmiDistributionConfiguration>
) -> Self
The specific AMI settings; for example, launch permissions or AMI tags.
sourcepub fn container_distribution_configuration(
self,
input: ContainerDistributionConfiguration
) -> Self
pub fn container_distribution_configuration(
self,
input: ContainerDistributionConfiguration
) -> Self
Container distribution settings for encryption, licensing, and sharing in a specific Region.
sourcepub fn set_container_distribution_configuration(
self,
input: Option<ContainerDistributionConfiguration>
) -> Self
pub fn set_container_distribution_configuration(
self,
input: Option<ContainerDistributionConfiguration>
) -> Self
Container distribution settings for encryption, licensing, and sharing in a specific Region.
sourcepub fn license_configuration_arns(self, input: impl Into<String>) -> Self
pub fn license_configuration_arns(self, input: impl Into<String>) -> Self
Appends an item to license_configuration_arns
.
To override the contents of this collection use set_license_configuration_arns
.
The License Manager Configuration to associate with the AMI in the specified Region.
sourcepub fn set_license_configuration_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_license_configuration_arns(self, input: Option<Vec<String>>) -> Self
The License Manager Configuration to associate with the AMI in the specified Region.
sourcepub fn launch_template_configurations(
self,
input: LaunchTemplateConfiguration
) -> Self
pub fn launch_template_configurations(
self,
input: LaunchTemplateConfiguration
) -> Self
Appends an item to launch_template_configurations
.
To override the contents of this collection use set_launch_template_configurations
.
A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
sourcepub fn set_launch_template_configurations(
self,
input: Option<Vec<LaunchTemplateConfiguration>>
) -> Self
pub fn set_launch_template_configurations(
self,
input: Option<Vec<LaunchTemplateConfiguration>>
) -> Self
A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
sourcepub fn s3_export_configuration(self, input: S3ExportConfiguration) -> Self
pub fn s3_export_configuration(self, input: S3ExportConfiguration) -> Self
Configure export settings to deliver disk images created from your image build, using a file format that is compatible with your VMs in that Region.
sourcepub fn set_s3_export_configuration(
self,
input: Option<S3ExportConfiguration>
) -> Self
pub fn set_s3_export_configuration(
self,
input: Option<S3ExportConfiguration>
) -> Self
Configure export settings to deliver disk images created from your image build, using a file format that is compatible with your VMs in that Region.
sourcepub fn build(self) -> Distribution
pub fn build(self) -> Distribution
Consumes the builder and constructs a Distribution
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more