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