Struct aws_sdk_proton::model::provisioned_resource::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ProvisionedResource.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> ProvisionedResource
pub fn build(self) -> ProvisionedResource
Consumes the builder and constructs a ProvisionedResource.