#[non_exhaustive]pub struct EnvironmentProfileSummaryBuilder { /* private fields */ }
Expand description
A builder for EnvironmentProfileSummary
.
Implementations§
source§impl EnvironmentProfileSummaryBuilder
impl EnvironmentProfileSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the environment profile.
This field is required.sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain in which the environment profile exists.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain in which the environment profile exists.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The identifier of the Amazon DataZone domain in which the environment profile exists.
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The identifier of an Amazon Web Services account in which an environment profile exists.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The identifier of an Amazon Web Services account in which an environment profile exists.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The identifier of an Amazon Web Services account in which an environment profile exists.
sourcepub fn aws_account_region(self, input: impl Into<String>) -> Self
pub fn aws_account_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region in which an environment profile exists.
sourcepub fn set_aws_account_region(self, input: Option<String>) -> Self
pub fn set_aws_account_region(self, input: Option<String>) -> Self
The Amazon Web Services Region in which an environment profile exists.
sourcepub fn get_aws_account_region(&self) -> &Option<String>
pub fn get_aws_account_region(&self) -> &Option<String>
The Amazon Web Services Region in which an environment profile exists.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who created the environment profile.
This field is required.sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon DataZone user who created the environment profile.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the environment profile.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when an environment profile 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 profile was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when an environment profile was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when the environment profile was updated.
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 environment profile was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when the environment profile was updated.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the environment profile.
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 the environment profile.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the environment profile.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the environment profile.
sourcepub fn environment_blueprint_id(self, input: impl Into<String>) -> Self
pub fn environment_blueprint_id(self, input: impl Into<String>) -> Self
The identifier of a blueprint with which an environment profile is created.
This field is required.sourcepub fn set_environment_blueprint_id(self, input: Option<String>) -> Self
pub fn set_environment_blueprint_id(self, input: Option<String>) -> Self
The identifier of a blueprint with which an environment profile is created.
sourcepub fn get_environment_blueprint_id(&self) -> &Option<String>
pub fn get_environment_blueprint_id(&self) -> &Option<String>
The identifier of a blueprint with which an environment profile is created.
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The identifier of a project in which an environment profile exists.
sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
The identifier of a project in which an environment profile exists.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The identifier of a project in which an environment profile exists.
sourcepub fn build(self) -> Result<EnvironmentProfileSummary, BuildError>
pub fn build(self) -> Result<EnvironmentProfileSummary, BuildError>
Consumes the builder and constructs a EnvironmentProfileSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EnvironmentProfileSummaryBuilder
impl Clone for EnvironmentProfileSummaryBuilder
source§fn clone(&self) -> EnvironmentProfileSummaryBuilder
fn clone(&self) -> EnvironmentProfileSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EnvironmentProfileSummaryBuilder
impl Default for EnvironmentProfileSummaryBuilder
source§fn default() -> EnvironmentProfileSummaryBuilder
fn default() -> EnvironmentProfileSummaryBuilder
source§impl PartialEq for EnvironmentProfileSummaryBuilder
impl PartialEq for EnvironmentProfileSummaryBuilder
source§fn eq(&self, other: &EnvironmentProfileSummaryBuilder) -> bool
fn eq(&self, other: &EnvironmentProfileSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.