Struct aws_sdk_datazone::operation::create_environment::builders::CreateEnvironmentInputBuilder
source · #[non_exhaustive]pub struct CreateEnvironmentInputBuilder { /* private fields */ }
Expand description
A builder for CreateEnvironmentInput
.
Implementations§
source§impl CreateEnvironmentInputBuilder
impl CreateEnvironmentInputBuilder
sourcepub fn project_identifier(self, input: impl Into<String>) -> Self
pub fn project_identifier(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone project in which this environment is created.
sourcepub fn set_project_identifier(self, input: Option<String>) -> Self
pub fn set_project_identifier(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone project in which this environment is created.
sourcepub fn get_project_identifier(&self) -> &Option<String>
pub fn get_project_identifier(&self) -> &Option<String>
The identifier of the Amazon DataZone project in which this environment is created.
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain in which the environment is created.
sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain in which the environment is created.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The identifier of the Amazon DataZone domain in which the environment is created.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the Amazon DataZone environment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the Amazon DataZone environment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the Amazon DataZone environment.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Amazon DataZone environment.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Amazon DataZone environment.
sourcepub fn environment_profile_identifier(self, input: impl Into<String>) -> Self
pub fn environment_profile_identifier(self, input: impl Into<String>) -> Self
The identifier of the environment profile that is used to create this Amazon DataZone environment.
sourcepub fn set_environment_profile_identifier(self, input: Option<String>) -> Self
pub fn set_environment_profile_identifier(self, input: Option<String>) -> Self
The identifier of the environment profile that is used to create this Amazon DataZone environment.
sourcepub fn get_environment_profile_identifier(&self) -> &Option<String>
pub fn get_environment_profile_identifier(&self) -> &Option<String>
The identifier of the environment profile that is used to create this Amazon DataZone environment.
sourcepub fn user_parameters(self, input: EnvironmentParameter) -> Self
pub fn user_parameters(self, input: EnvironmentParameter) -> Self
Appends an item to user_parameters
.
To override the contents of this collection use set_user_parameters
.
The user parameters of this Amazon DataZone environment.
sourcepub fn set_user_parameters(
self,
input: Option<Vec<EnvironmentParameter>>
) -> Self
pub fn set_user_parameters( self, input: Option<Vec<EnvironmentParameter>> ) -> Self
The user parameters of this Amazon DataZone environment.
sourcepub fn get_user_parameters(&self) -> &Option<Vec<EnvironmentParameter>>
pub fn get_user_parameters(&self) -> &Option<Vec<EnvironmentParameter>>
The user parameters of this Amazon DataZone environment.
sourcepub fn glossary_terms(self, input: impl Into<String>) -> Self
pub fn glossary_terms(self, input: impl Into<String>) -> Self
Appends an item to glossary_terms
.
To override the contents of this collection use set_glossary_terms
.
The glossary terms that can be used in this Amazon DataZone environment.
sourcepub fn set_glossary_terms(self, input: Option<Vec<String>>) -> Self
pub fn set_glossary_terms(self, input: Option<Vec<String>>) -> Self
The glossary terms that can be used in this Amazon DataZone environment.
sourcepub fn get_glossary_terms(&self) -> &Option<Vec<String>>
pub fn get_glossary_terms(&self) -> &Option<Vec<String>>
The glossary terms that can be used in this Amazon DataZone environment.
sourcepub fn build(self) -> Result<CreateEnvironmentInput, BuildError>
pub fn build(self) -> Result<CreateEnvironmentInput, BuildError>
Consumes the builder and constructs a CreateEnvironmentInput
.
source§impl CreateEnvironmentInputBuilder
impl CreateEnvironmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateEnvironmentOutput, SdkError<CreateEnvironmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEnvironmentInputBuilder
impl Clone for CreateEnvironmentInputBuilder
source§fn clone(&self) -> CreateEnvironmentInputBuilder
fn clone(&self) -> CreateEnvironmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateEnvironmentInputBuilder
impl Default for CreateEnvironmentInputBuilder
source§fn default() -> CreateEnvironmentInputBuilder
fn default() -> CreateEnvironmentInputBuilder
source§impl PartialEq for CreateEnvironmentInputBuilder
impl PartialEq for CreateEnvironmentInputBuilder
source§fn eq(&self, other: &CreateEnvironmentInputBuilder) -> bool
fn eq(&self, other: &CreateEnvironmentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.