#[non_exhaustive]pub struct PlacementSummaryBuilder { /* private fields */ }Expand description
A builder for PlacementSummary.
Implementations§
source§impl PlacementSummaryBuilder
impl PlacementSummaryBuilder
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project containing the placement.
This field is required.sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project containing the placement.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project containing the placement.
sourcepub fn placement_name(self, input: impl Into<String>) -> Self
pub fn placement_name(self, input: impl Into<String>) -> Self
The name of the placement being summarized.
This field is required.sourcepub fn set_placement_name(self, input: Option<String>) -> Self
pub fn set_placement_name(self, input: Option<String>) -> Self
The name of the placement being summarized.
sourcepub fn get_placement_name(&self) -> &Option<String>
pub fn get_placement_name(&self) -> &Option<String>
The name of the placement being summarized.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date when the placement was originally created, in UNIX epoch time format.
This field is required.sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date when the placement was originally created, in UNIX epoch time format.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date when the placement was originally created, in UNIX epoch time format.
sourcepub fn updated_date(self, input: DateTime) -> Self
pub fn updated_date(self, input: DateTime) -> Self
The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.
sourcepub fn set_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_updated_date(self, input: Option<DateTime>) -> Self
The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.
sourcepub fn get_updated_date(&self) -> &Option<DateTime>
pub fn get_updated_date(&self) -> &Option<DateTime>
The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.
sourcepub fn build(self) -> Result<PlacementSummary, BuildError>
pub fn build(self) -> Result<PlacementSummary, BuildError>
Consumes the builder and constructs a PlacementSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PlacementSummaryBuilder
impl Clone for PlacementSummaryBuilder
source§fn clone(&self) -> PlacementSummaryBuilder
fn clone(&self) -> PlacementSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PlacementSummaryBuilder
impl Debug for PlacementSummaryBuilder
source§impl Default for PlacementSummaryBuilder
impl Default for PlacementSummaryBuilder
source§fn default() -> PlacementSummaryBuilder
fn default() -> PlacementSummaryBuilder
source§impl PartialEq for PlacementSummaryBuilder
impl PartialEq for PlacementSummaryBuilder
source§fn eq(&self, other: &PlacementSummaryBuilder) -> bool
fn eq(&self, other: &PlacementSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.