Struct aws_sdk_datazone::operation::associate_environment_role::builders::AssociateEnvironmentRoleInputBuilder
source · #[non_exhaustive]pub struct AssociateEnvironmentRoleInputBuilder { /* private fields */ }Expand description
A builder for AssociateEnvironmentRoleInput.
Implementations§
source§impl AssociateEnvironmentRoleInputBuilder
impl AssociateEnvironmentRoleInputBuilder
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 role is associated.
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 role is associated.
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 role is associated.
sourcepub fn environment_identifier(self, input: impl Into<String>) -> Self
pub fn environment_identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone environment.
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 Amazon DataZone environment.
sourcepub fn get_environment_identifier(&self) -> &Option<String>
pub fn get_environment_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone environment.
sourcepub fn environment_role_arn(self, input: impl Into<String>) -> Self
pub fn environment_role_arn(self, input: impl Into<String>) -> Self
The ARN of the environment role.
This field is required.sourcepub fn set_environment_role_arn(self, input: Option<String>) -> Self
pub fn set_environment_role_arn(self, input: Option<String>) -> Self
The ARN of the environment role.
sourcepub fn get_environment_role_arn(&self) -> &Option<String>
pub fn get_environment_role_arn(&self) -> &Option<String>
The ARN of the environment role.
sourcepub fn build(self) -> Result<AssociateEnvironmentRoleInput, BuildError>
pub fn build(self) -> Result<AssociateEnvironmentRoleInput, BuildError>
Consumes the builder and constructs a AssociateEnvironmentRoleInput.
source§impl AssociateEnvironmentRoleInputBuilder
impl AssociateEnvironmentRoleInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AssociateEnvironmentRoleOutput, SdkError<AssociateEnvironmentRoleError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AssociateEnvironmentRoleOutput, SdkError<AssociateEnvironmentRoleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateEnvironmentRoleInputBuilder
impl Clone for AssociateEnvironmentRoleInputBuilder
source§fn clone(&self) -> AssociateEnvironmentRoleInputBuilder
fn clone(&self) -> AssociateEnvironmentRoleInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for AssociateEnvironmentRoleInputBuilder
impl Default for AssociateEnvironmentRoleInputBuilder
source§fn default() -> AssociateEnvironmentRoleInputBuilder
fn default() -> AssociateEnvironmentRoleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateEnvironmentRoleInputBuilder
impl PartialEq for AssociateEnvironmentRoleInputBuilder
source§fn eq(&self, other: &AssociateEnvironmentRoleInputBuilder) -> bool
fn eq(&self, other: &AssociateEnvironmentRoleInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateEnvironmentRoleInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateEnvironmentRoleInputBuilder
impl RefUnwindSafe for AssociateEnvironmentRoleInputBuilder
impl Send for AssociateEnvironmentRoleInputBuilder
impl Sync for AssociateEnvironmentRoleInputBuilder
impl Unpin for AssociateEnvironmentRoleInputBuilder
impl UnwindSafe for AssociateEnvironmentRoleInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.