Struct aws_sdk_datazone::operation::create_environment_action::builders::CreateEnvironmentActionInputBuilder
source · #[non_exhaustive]pub struct CreateEnvironmentActionInputBuilder { /* private fields */ }Expand description
A builder for CreateEnvironmentActionInput.
Implementations§
source§impl CreateEnvironmentActionInputBuilder
impl CreateEnvironmentActionInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain in which the environment action is created.
This field is required.sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain in which the environment action is created.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone domain in which the environment action is created.
sourcepub fn environment_identifier(self, input: impl Into<String>) -> Self
pub fn environment_identifier(self, input: impl Into<String>) -> Self
The ID of the environment in which the environment action is created.
This field is required.sourcepub fn set_environment_identifier(self, input: Option<String>) -> Self
pub fn set_environment_identifier(self, input: Option<String>) -> Self
The ID of the environment in which the environment action is created.
sourcepub fn get_environment_identifier(&self) -> &Option<String>
pub fn get_environment_identifier(&self) -> &Option<String>
The ID of the environment in which the environment action is created.
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 that is being created in the environment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the environment action that is being created in the environment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the environment action that is being created in the environment.
sourcepub fn build(self) -> Result<CreateEnvironmentActionInput, BuildError>
pub fn build(self) -> Result<CreateEnvironmentActionInput, BuildError>
Consumes the builder and constructs a CreateEnvironmentActionInput.
source§impl CreateEnvironmentActionInputBuilder
impl CreateEnvironmentActionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateEnvironmentActionOutput, SdkError<CreateEnvironmentActionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateEnvironmentActionOutput, SdkError<CreateEnvironmentActionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEnvironmentActionInputBuilder
impl Clone for CreateEnvironmentActionInputBuilder
source§fn clone(&self) -> CreateEnvironmentActionInputBuilder
fn clone(&self) -> CreateEnvironmentActionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateEnvironmentActionInputBuilder
impl Default for CreateEnvironmentActionInputBuilder
source§fn default() -> CreateEnvironmentActionInputBuilder
fn default() -> CreateEnvironmentActionInputBuilder
source§impl PartialEq for CreateEnvironmentActionInputBuilder
impl PartialEq for CreateEnvironmentActionInputBuilder
source§fn eq(&self, other: &CreateEnvironmentActionInputBuilder) -> bool
fn eq(&self, other: &CreateEnvironmentActionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateEnvironmentActionInputBuilder
Auto Trait Implementations§
impl Freeze for CreateEnvironmentActionInputBuilder
impl RefUnwindSafe for CreateEnvironmentActionInputBuilder
impl Send for CreateEnvironmentActionInputBuilder
impl Sync for CreateEnvironmentActionInputBuilder
impl Unpin for CreateEnvironmentActionInputBuilder
impl UnwindSafe for CreateEnvironmentActionInputBuilder
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