Struct aws_sdk_elasticbeanstalk::operation::associate_environment_operations_role::builders::AssociateEnvironmentOperationsRoleInputBuilder
source · #[non_exhaustive]pub struct AssociateEnvironmentOperationsRoleInputBuilder { /* private fields */ }
Expand description
A builder for AssociateEnvironmentOperationsRoleInput
.
Implementations§
source§impl AssociateEnvironmentOperationsRoleInputBuilder
impl AssociateEnvironmentOperationsRoleInputBuilder
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of the environment to which to set the operations role.
This field is required.sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of the environment to which to set the operations role.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of the environment to which to set the operations role.
sourcepub fn operations_role(self, input: impl Into<String>) -> Self
pub fn operations_role(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
This field is required.sourcepub fn set_operations_role(self, input: Option<String>) -> Self
pub fn set_operations_role(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
sourcepub fn get_operations_role(&self) -> &Option<String>
pub fn get_operations_role(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
sourcepub fn build(
self,
) -> Result<AssociateEnvironmentOperationsRoleInput, BuildError>
pub fn build( self, ) -> Result<AssociateEnvironmentOperationsRoleInput, BuildError>
Consumes the builder and constructs a AssociateEnvironmentOperationsRoleInput
.
source§impl AssociateEnvironmentOperationsRoleInputBuilder
impl AssociateEnvironmentOperationsRoleInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AssociateEnvironmentOperationsRoleOutput, SdkError<AssociateEnvironmentOperationsRoleError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AssociateEnvironmentOperationsRoleOutput, SdkError<AssociateEnvironmentOperationsRoleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateEnvironmentOperationsRoleInputBuilder
impl Clone for AssociateEnvironmentOperationsRoleInputBuilder
source§fn clone(&self) -> AssociateEnvironmentOperationsRoleInputBuilder
fn clone(&self) -> AssociateEnvironmentOperationsRoleInputBuilder
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 AssociateEnvironmentOperationsRoleInputBuilder
impl Default for AssociateEnvironmentOperationsRoleInputBuilder
source§fn default() -> AssociateEnvironmentOperationsRoleInputBuilder
fn default() -> AssociateEnvironmentOperationsRoleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateEnvironmentOperationsRoleInputBuilder
impl PartialEq for AssociateEnvironmentOperationsRoleInputBuilder
source§fn eq(&self, other: &AssociateEnvironmentOperationsRoleInputBuilder) -> bool
fn eq(&self, other: &AssociateEnvironmentOperationsRoleInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateEnvironmentOperationsRoleInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateEnvironmentOperationsRoleInputBuilder
impl RefUnwindSafe for AssociateEnvironmentOperationsRoleInputBuilder
impl Send for AssociateEnvironmentOperationsRoleInputBuilder
impl Sync for AssociateEnvironmentOperationsRoleInputBuilder
impl Unpin for AssociateEnvironmentOperationsRoleInputBuilder
impl UnwindSafe for AssociateEnvironmentOperationsRoleInputBuilder
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> 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.