@Generated(value="software.amazon.awssdk:codegen") public final class Environment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Environment.Builder,Environment>
Information about an AWS Cloud9 development environment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Environment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the environment.
|
static Environment.Builder |
builder() |
ConnectionType |
connectionType()
The connection type used for connecting to an Amazon EC2 environment.
|
String |
connectionTypeAsString()
The connection type used for connecting to an Amazon EC2 environment.
|
String |
description()
The description for the environment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the environment.
|
EnvironmentLifecycle |
lifecycle()
The state of the environment in its creation or deletion lifecycle.
|
String |
name()
The name of the environment.
|
String |
ownerArn()
The Amazon Resource Name (ARN) of the environment owner.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Environment.Builder> |
serializableBuilderClass() |
Environment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EnvironmentType |
type()
The type of environment.
|
String |
typeAsString()
The type of environment.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the environment.
public final String name()
The name of the environment.
public final String description()
The description for the environment.
public final EnvironmentType type()
The type of environment. Valid values include the following:
ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
ssh: Your own server connects to the environment.
If the service returns an enum value that is not available in the current SDK version, type will return
EnvironmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
ssh: Your own server connects to the environment.
EnvironmentTypepublic final String typeAsString()
The type of environment. Valid values include the following:
ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
ssh: Your own server connects to the environment.
If the service returns an enum value that is not available in the current SDK version, type will return
EnvironmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
ssh: Your own server connects to the environment.
EnvironmentTypepublic final ConnectionType connectionType()
The connection type used for connecting to an Amazon EC2 environment.
If the service returns an enum value that is not available in the current SDK version, connectionType
will return ConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectionTypeAsString().
ConnectionTypepublic final String connectionTypeAsString()
The connection type used for connecting to an Amazon EC2 environment.
If the service returns an enum value that is not available in the current SDK version, connectionType
will return ConnectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from connectionTypeAsString().
ConnectionTypepublic final String arn()
The Amazon Resource Name (ARN) of the environment.
public final String ownerArn()
The Amazon Resource Name (ARN) of the environment owner.
public final EnvironmentLifecycle lifecycle()
The state of the environment in its creation or deletion lifecycle.
public Environment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Environment.Builder,Environment>public static Environment.Builder builder()
public static Class<? extends Environment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.