@Generated(value="software.amazon.awssdk:codegen") public final class Environment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Environment.Builder,Environment>
Information about an 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.
|
ManagedCredentialsStatus |
managedCredentialsStatus()
Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.
|
String |
managedCredentialsStatusAsString()
Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.
|
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. CONNECT_SSH is selected by
default.
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().
CONNECT_SSH is
selected by default.ConnectionTypepublic final String connectionTypeAsString()
The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH is selected by
default.
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().
CONNECT_SSH is
selected by default.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 final ManagedCredentialsStatus managedCredentialsStatus()
Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available values are:
ENABLED_ON_CREATE
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
DISABLED_BY_OWNER
DISABLED_BY_COLLABORATOR
PENDING_REMOVAL_BY_COLLABORATOR
PENDING_REMOVAL_BY_OWNER
FAILED_REMOVAL_BY_COLLABORATOR
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
If the service returns an enum value that is not available in the current SDK version,
managedCredentialsStatus will return ManagedCredentialsStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from managedCredentialsStatusAsString().
ENABLED_ON_CREATE
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
DISABLED_BY_OWNER
DISABLED_BY_COLLABORATOR
PENDING_REMOVAL_BY_COLLABORATOR
PENDING_REMOVAL_BY_OWNER
FAILED_REMOVAL_BY_COLLABORATOR
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
ManagedCredentialsStatuspublic final String managedCredentialsStatusAsString()
Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available values are:
ENABLED_ON_CREATE
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
DISABLED_BY_OWNER
DISABLED_BY_COLLABORATOR
PENDING_REMOVAL_BY_COLLABORATOR
PENDING_REMOVAL_BY_OWNER
FAILED_REMOVAL_BY_COLLABORATOR
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
If the service returns an enum value that is not available in the current SDK version,
managedCredentialsStatus will return ManagedCredentialsStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from managedCredentialsStatusAsString().
ENABLED_ON_CREATE
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
DISABLED_BY_OWNER
DISABLED_BY_COLLABORATOR
PENDING_REMOVAL_BY_COLLABORATOR
PENDING_REMOVAL_BY_OWNER
FAILED_REMOVAL_BY_COLLABORATOR
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
ManagedCredentialsStatuspublic 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.