@Generated(value="software.amazon.awssdk:codegen") public class Environment extends Object implements StructuredPojo, 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the environment.
|
String |
ownerArn()
The Amazon Resource Name (ARN) of the environment owner.
|
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 environment hosted on an Amazon Elastic Compute Cloud (Amazon EC2) instance.
ssh
: An environment hosted on your own server.
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 environment hosted on an Amazon Elastic Compute Cloud (Amazon EC2) instance.
ssh
: An environment hosted on your own server.
EnvironmentType
public String typeAsString()
The type of environment. Valid values include the following:
ec2
: An environment hosted on an Amazon Elastic Compute Cloud (Amazon EC2) instance.
ssh
: An environment hosted on your own server.
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 environment hosted on an Amazon Elastic Compute Cloud (Amazon EC2) instance.
ssh
: An environment hosted on your own server.
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.