#[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 ==.impl StructuralPartialEq for EnvironmentBlueprintSummaryBuilder
Auto Trait Implementations§
impl Freeze for EnvironmentBlueprintSummaryBuilder
impl RefUnwindSafe for EnvironmentBlueprintSummaryBuilder
impl Send for EnvironmentBlueprintSummaryBuilder
impl Sync for EnvironmentBlueprintSummaryBuilder
impl Unpin for EnvironmentBlueprintSummaryBuilder
impl UnwindSafe for EnvironmentBlueprintSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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