Struct aws_sdk_cloud9::operation::update_environment::builders::UpdateEnvironmentInputBuilder
source · #[non_exhaustive]pub struct UpdateEnvironmentInputBuilder { /* private fields */ }
Expand description
A builder for UpdateEnvironmentInput
.
Implementations§
source§impl UpdateEnvironmentInputBuilder
impl UpdateEnvironmentInputBuilder
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of the environment to change settings.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The ID of the environment to change settings.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of the environment to change settings.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Any new or replacement description for the environment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Any new or replacement description for the environment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Any new or replacement description for the environment.
sourcepub fn managed_credentials_action(self, input: ManagedCredentialsAction) -> Self
pub fn managed_credentials_action(self, input: ManagedCredentialsAction) -> Self
Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
-
ENABLE
-
DISABLE
Only the environment owner can change the status of managed temporary credentials. An AccessDeniedException
is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.
sourcepub fn set_managed_credentials_action(
self,
input: Option<ManagedCredentialsAction>
) -> Self
pub fn set_managed_credentials_action( self, input: Option<ManagedCredentialsAction> ) -> Self
Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
-
ENABLE
-
DISABLE
Only the environment owner can change the status of managed temporary credentials. An AccessDeniedException
is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.
sourcepub fn get_managed_credentials_action(
&self
) -> &Option<ManagedCredentialsAction>
pub fn get_managed_credentials_action( &self ) -> &Option<ManagedCredentialsAction>
Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
-
ENABLE
-
DISABLE
Only the environment owner can change the status of managed temporary credentials. An AccessDeniedException
is thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.
sourcepub fn build(self) -> Result<UpdateEnvironmentInput, BuildError>
pub fn build(self) -> Result<UpdateEnvironmentInput, BuildError>
Consumes the builder and constructs a UpdateEnvironmentInput
.
source§impl UpdateEnvironmentInputBuilder
impl UpdateEnvironmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateEnvironmentOutput, SdkError<UpdateEnvironmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateEnvironmentOutput, SdkError<UpdateEnvironmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateEnvironmentInputBuilder
impl Clone for UpdateEnvironmentInputBuilder
source§fn clone(&self) -> UpdateEnvironmentInputBuilder
fn clone(&self) -> UpdateEnvironmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateEnvironmentInputBuilder
impl Default for UpdateEnvironmentInputBuilder
source§fn default() -> UpdateEnvironmentInputBuilder
fn default() -> UpdateEnvironmentInputBuilder
source§impl PartialEq for UpdateEnvironmentInputBuilder
impl PartialEq for UpdateEnvironmentInputBuilder
source§fn eq(&self, other: &UpdateEnvironmentInputBuilder) -> bool
fn eq(&self, other: &UpdateEnvironmentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.