Struct aws_sdk_proton::types::builders::ProvisionedResourceBuilder
source · #[non_exhaustive]pub struct ProvisionedResourceBuilder { /* private fields */ }
Expand description
A builder for ProvisionedResource
.
Implementations§
source§impl ProvisionedResourceBuilder
impl ProvisionedResourceBuilder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The provisioned resource identifier.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The provisioned resource identifier.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The provisioned resource identifier.
sourcepub fn provisioning_engine(self, input: ProvisionedResourceEngine) -> Self
pub fn provisioning_engine(self, input: ProvisionedResourceEngine) -> Self
The resource provisioning engine. At this time, CLOUDFORMATION
can be used for Amazon Web Services-managed provisioning, and TERRAFORM
can be used for self-managed provisioning.
For more information, see Self-managed provisioning in the Proton User Guide.
sourcepub fn set_provisioning_engine(
self,
input: Option<ProvisionedResourceEngine>
) -> Self
pub fn set_provisioning_engine( self, input: Option<ProvisionedResourceEngine> ) -> Self
The resource provisioning engine. At this time, CLOUDFORMATION
can be used for Amazon Web Services-managed provisioning, and TERRAFORM
can be used for self-managed provisioning.
For more information, see Self-managed provisioning in the Proton User Guide.
sourcepub fn get_provisioning_engine(&self) -> &Option<ProvisionedResourceEngine>
pub fn get_provisioning_engine(&self) -> &Option<ProvisionedResourceEngine>
The resource provisioning engine. At this time, CLOUDFORMATION
can be used for Amazon Web Services-managed provisioning, and TERRAFORM
can be used for self-managed provisioning.
For more information, see Self-managed provisioning in the Proton User Guide.
sourcepub fn build(self) -> ProvisionedResource
pub fn build(self) -> ProvisionedResource
Consumes the builder and constructs a ProvisionedResource
.
Trait Implementations§
source§impl Clone for ProvisionedResourceBuilder
impl Clone for ProvisionedResourceBuilder
source§fn clone(&self) -> ProvisionedResourceBuilder
fn clone(&self) -> ProvisionedResourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProvisionedResourceBuilder
impl Debug for ProvisionedResourceBuilder
source§impl Default for ProvisionedResourceBuilder
impl Default for ProvisionedResourceBuilder
source§fn default() -> ProvisionedResourceBuilder
fn default() -> ProvisionedResourceBuilder
source§impl PartialEq for ProvisionedResourceBuilder
impl PartialEq for ProvisionedResourceBuilder
source§fn eq(&self, other: &ProvisionedResourceBuilder) -> bool
fn eq(&self, other: &ProvisionedResourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProvisionedResourceBuilder
Auto Trait Implementations§
impl Freeze for ProvisionedResourceBuilder
impl RefUnwindSafe for ProvisionedResourceBuilder
impl Send for ProvisionedResourceBuilder
impl Sync for ProvisionedResourceBuilder
impl Unpin for ProvisionedResourceBuilder
impl UnwindSafe for ProvisionedResourceBuilder
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