#[non_exhaustive]pub struct ConfigurableEnvironmentActionBuilder { /* private fields */ }Expand description
A builder for ConfigurableEnvironmentAction.
Implementations§
source§impl ConfigurableEnvironmentActionBuilder
impl ConfigurableEnvironmentActionBuilder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of a configurable action in a Amazon DataZone environment.
This field is required.sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of a configurable action in a Amazon DataZone environment.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of a configurable action in a Amazon DataZone environment.
sourcepub fn auth(self, input: ConfigurableActionTypeAuthorization) -> Self
pub fn auth(self, input: ConfigurableActionTypeAuthorization) -> Self
The authentication type of a configurable action of a Amazon DataZone environment.
sourcepub fn set_auth(
self,
input: Option<ConfigurableActionTypeAuthorization>,
) -> Self
pub fn set_auth( self, input: Option<ConfigurableActionTypeAuthorization>, ) -> Self
The authentication type of a configurable action of a Amazon DataZone environment.
sourcepub fn get_auth(&self) -> &Option<ConfigurableActionTypeAuthorization>
pub fn get_auth(&self) -> &Option<ConfigurableActionTypeAuthorization>
The authentication type of a configurable action of a Amazon DataZone environment.
sourcepub fn parameters(self, input: ConfigurableActionParameter) -> Self
pub fn parameters(self, input: ConfigurableActionParameter) -> Self
Appends an item to parameters.
To override the contents of this collection use set_parameters.
The parameters of a configurable action in a Amazon DataZone environment.
sourcepub fn set_parameters(
self,
input: Option<Vec<ConfigurableActionParameter>>,
) -> Self
pub fn set_parameters( self, input: Option<Vec<ConfigurableActionParameter>>, ) -> Self
The parameters of a configurable action in a Amazon DataZone environment.
sourcepub fn get_parameters(&self) -> &Option<Vec<ConfigurableActionParameter>>
pub fn get_parameters(&self) -> &Option<Vec<ConfigurableActionParameter>>
The parameters of a configurable action in a Amazon DataZone environment.
sourcepub fn build(self) -> Result<ConfigurableEnvironmentAction, BuildError>
pub fn build(self) -> Result<ConfigurableEnvironmentAction, BuildError>
Consumes the builder and constructs a ConfigurableEnvironmentAction.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ConfigurableEnvironmentActionBuilder
impl Clone for ConfigurableEnvironmentActionBuilder
source§fn clone(&self) -> ConfigurableEnvironmentActionBuilder
fn clone(&self) -> ConfigurableEnvironmentActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ConfigurableEnvironmentActionBuilder
impl Default for ConfigurableEnvironmentActionBuilder
source§fn default() -> ConfigurableEnvironmentActionBuilder
fn default() -> ConfigurableEnvironmentActionBuilder
source§impl PartialEq for ConfigurableEnvironmentActionBuilder
impl PartialEq for ConfigurableEnvironmentActionBuilder
source§fn eq(&self, other: &ConfigurableEnvironmentActionBuilder) -> bool
fn eq(&self, other: &ConfigurableEnvironmentActionBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigurableEnvironmentActionBuilder
Auto Trait Implementations§
impl Freeze for ConfigurableEnvironmentActionBuilder
impl RefUnwindSafe for ConfigurableEnvironmentActionBuilder
impl Send for ConfigurableEnvironmentActionBuilder
impl Sync for ConfigurableEnvironmentActionBuilder
impl Unpin for ConfigurableEnvironmentActionBuilder
impl UnwindSafe for ConfigurableEnvironmentActionBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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