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 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 build(
self
) -> Result<AssociateEnvironmentOperationsRoleInput, BuildError>
pub fn build( self ) -> Result<AssociateEnvironmentOperationsRoleInput, BuildError>
Consumes the builder and constructs a AssociateEnvironmentOperationsRoleInput.
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 ==.