#[non_exhaustive]pub struct EnvironmentBlueprintSummaryBuilder { /* private fields */ }
Expand description
A builder for EnvironmentBlueprintSummary
.
Implementations§
source§impl EnvironmentBlueprintSummaryBuilder
impl EnvironmentBlueprintSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the blueprint.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the blueprint.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of a blueprint.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of a blueprint.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of a blueprint.
sourcepub fn provider(self, input: impl Into<String>) -> Self
pub fn provider(self, input: impl Into<String>) -> Self
The provider of the blueprint.
This field is required.sourcepub fn set_provider(self, input: Option<String>) -> Self
pub fn set_provider(self, input: Option<String>) -> Self
The provider of the blueprint.
sourcepub fn get_provider(&self) -> &Option<String>
pub fn get_provider(&self) -> &Option<String>
The provider of the blueprint.
sourcepub fn provisioning_properties(self, input: ProvisioningProperties) -> Self
pub fn provisioning_properties(self, input: ProvisioningProperties) -> Self
The provisioning properties of the blueprint.
This field is required.sourcepub fn set_provisioning_properties(
self,
input: Option<ProvisioningProperties>
) -> Self
pub fn set_provisioning_properties( self, input: Option<ProvisioningProperties> ) -> Self
The provisioning properties of the blueprint.
sourcepub fn get_provisioning_properties(&self) -> &Option<ProvisioningProperties>
pub fn get_provisioning_properties(&self) -> &Option<ProvisioningProperties>
The provisioning properties of the blueprint.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when an environment blueprint was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when an environment blueprint was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when an environment blueprint was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when the blueprint was enabled.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the blueprint was enabled.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when the blueprint was enabled.
sourcepub fn build(self) -> Result<EnvironmentBlueprintSummary, BuildError>
pub fn build(self) -> Result<EnvironmentBlueprintSummary, BuildError>
Consumes the builder and constructs a EnvironmentBlueprintSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EnvironmentBlueprintSummaryBuilder
impl Clone for EnvironmentBlueprintSummaryBuilder
source§fn clone(&self) -> EnvironmentBlueprintSummaryBuilder
fn clone(&self) -> EnvironmentBlueprintSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EnvironmentBlueprintSummaryBuilder
impl Default for EnvironmentBlueprintSummaryBuilder
source§fn default() -> EnvironmentBlueprintSummaryBuilder
fn default() -> EnvironmentBlueprintSummaryBuilder
source§impl PartialEq for EnvironmentBlueprintSummaryBuilder
impl PartialEq for EnvironmentBlueprintSummaryBuilder
source§fn eq(&self, other: &EnvironmentBlueprintSummaryBuilder) -> bool
fn eq(&self, other: &EnvironmentBlueprintSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.