/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.cloud9.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateEnvironmentRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The ID of the environment to change settings. *
*/ private String environmentId; /** ** A replacement name for the environment. *
*/ private String name; /** ** Any new or replacement description for the environment. *
*/ private String description; /** ** 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.
*
* The ID of the environment to change settings. *
* * @param environmentId * The ID of the environment to change settings. */ public void setEnvironmentId(String environmentId) { this.environmentId = environmentId; } /** ** The ID of the environment to change settings. *
* * @return The ID of the environment to change settings. */ public String getEnvironmentId() { return this.environmentId; } /** ** The ID of the environment to change settings. *
* * @param environmentId * The ID of the environment to change settings. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateEnvironmentRequest withEnvironmentId(String environmentId) { setEnvironmentId(environmentId); return this; } /** ** A replacement name for the environment. *
* * @param name * A replacement name for the environment. */ public void setName(String name) { this.name = name; } /** ** A replacement name for the environment. *
* * @return A replacement name for the environment. */ public String getName() { return this.name; } /** ** A replacement name for the environment. *
* * @param name * A replacement name for the environment. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateEnvironmentRequest withName(String name) { setName(name); return this; } /** ** Any new or replacement description for the environment. *
* * @param description * Any new or replacement description for the environment. */ public void setDescription(String description) { this.description = description; } /** ** Any new or replacement description for the environment. *
* * @return Any new or replacement description for the environment. */ public String getDescription() { return this.description; } /** ** Any new or replacement description for the environment. *
* * @param description * Any new or replacement description for the environment. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateEnvironmentRequest withDescription(String description) { setDescription(description); return this; } /** ** 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*