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.
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.
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<AssociateEnvironmentOperationsRoleInputBuilder> for AssociateEnvironmentOperationsRoleInputBuilder
impl PartialEq<AssociateEnvironmentOperationsRoleInputBuilder> 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 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