@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() |
String |
description()
The description for the environment.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
EnvironmentType |
type()
The type of environment.
|
String |
typeAsString()
The type of environment.
|
copy
public String id()
The ID of the environment.
public String name()
The name of the environment.
public String description()
The description for the environment.
public 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.
EnvironmentType
public 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.
EnvironmentType
public String arn()
The Amazon Resource Name (ARN) of the environment.
public String ownerArn()
The Amazon Resource Name (ARN) of the environment owner.
public Environment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Environment.Builder,Environment>
public static Environment.Builder builder()
public static Class<? extends Environment.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.