/* * 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Information about an Cloud9 development environment. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Environment implements Serializable, Cloneable, StructuredPojo { /** *

* The ID of the environment. *

*/ private String id; /** *

* The name of the environment. *

*/ private String name; /** *

* The description for the environment. *

*/ private String description; /** *

* The type of environment. Valid values include the following: *

* */ private String type; /** *

* The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH is selected by * default. *

*/ private String connectionType; /** *

* The Amazon Resource Name (ARN) of the environment. *

*/ private String arn; /** *

* The Amazon Resource Name (ARN) of the environment owner. *

*/ private String ownerArn; /** *

* The state of the environment in its creation or deletion lifecycle. *

*/ private EnvironmentLifecycle lifecycle; /** *

* Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available * values are: *

* */ private String managedCredentialsStatus; /** *

* The ID of the environment. *

* * @param id * The ID of the environment. */ public void setId(String id) { this.id = id; } /** *

* The ID of the environment. *

* * @return The ID of the environment. */ public String getId() { return this.id; } /** *

* The ID of the environment. *

* * @param id * The ID of the environment. * @return Returns a reference to this object so that method calls can be chained together. */ public Environment withId(String id) { setId(id); return this; } /** *

* The name of the environment. *

* * @param name * The name of the environment. */ public void setName(String name) { this.name = name; } /** *

* The name of the environment. *

* * @return The name of the environment. */ public String getName() { return this.name; } /** *

* The name of the environment. *

* * @param name * The name of the environment. * @return Returns a reference to this object so that method calls can be chained together. */ public Environment withName(String name) { setName(name); return this; } /** *

* The description for the environment. *

* * @param description * The description for the environment. */ public void setDescription(String description) { this.description = description; } /** *

* The description for the environment. *

* * @return The description for the environment. */ public String getDescription() { return this.description; } /** *

* The description for the environment. *

* * @param description * The description for the environment. * @return Returns a reference to this object so that method calls can be chained together. */ public Environment withDescription(String description) { setDescription(description); return this; } /** *

* The type of environment. Valid values include the following: *

* * * @param type * The type of environment. Valid values include the following:

*