Struct aws_sdk_datazone::operation::create_environment_action::builders::CreateEnvironmentActionOutputBuilder
source · #[non_exhaustive]pub struct CreateEnvironmentActionOutputBuilder { /* private fields */ }Expand description
A builder for CreateEnvironmentActionOutput.
Implementations§
source§impl CreateEnvironmentActionOutputBuilder
impl CreateEnvironmentActionOutputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the domain in which the environment action is created.
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 ID of the domain in which the environment action is created.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the domain in which the environment action is created.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of the environment in which the environment is created.
This field is required.sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The ID of the environment in which the environment is created.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of the environment in which the environment is created.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the environment action.
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 environment action.
This field is required.sourcepub fn parameters(self, input: ActionParameters) -> Self
pub fn parameters(self, input: ActionParameters) -> Self
The parameters of the environment action.
This field is required.sourcepub fn set_parameters(self, input: Option<ActionParameters>) -> Self
pub fn set_parameters(self, input: Option<ActionParameters>) -> Self
The parameters of the environment action.
sourcepub fn get_parameters(&self) -> &Option<ActionParameters>
pub fn get_parameters(&self) -> &Option<ActionParameters>
The parameters of the environment action.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the environment action.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the environment action.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the environment action.
sourcepub fn build(self) -> Result<CreateEnvironmentActionOutput, BuildError>
pub fn build(self) -> Result<CreateEnvironmentActionOutput, BuildError>
Consumes the builder and constructs a CreateEnvironmentActionOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateEnvironmentActionOutputBuilder
impl Clone for CreateEnvironmentActionOutputBuilder
source§fn clone(&self) -> CreateEnvironmentActionOutputBuilder
fn clone(&self) -> CreateEnvironmentActionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateEnvironmentActionOutputBuilder
impl Default for CreateEnvironmentActionOutputBuilder
source§fn default() -> CreateEnvironmentActionOutputBuilder
fn default() -> CreateEnvironmentActionOutputBuilder
source§impl PartialEq for CreateEnvironmentActionOutputBuilder
impl PartialEq for CreateEnvironmentActionOutputBuilder
source§fn eq(&self, other: &CreateEnvironmentActionOutputBuilder) -> bool
fn eq(&self, other: &CreateEnvironmentActionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateEnvironmentActionOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateEnvironmentActionOutputBuilder
impl RefUnwindSafe for CreateEnvironmentActionOutputBuilder
impl Send for CreateEnvironmentActionOutputBuilder
impl Sync for CreateEnvironmentActionOutputBuilder
impl Unpin for CreateEnvironmentActionOutputBuilder
impl UnwindSafe for CreateEnvironmentActionOutputBuilder
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