@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Environment extends Object implements Serializable, Cloneable, StructuredPojo
Information about an AWS Cloud9 development environment.
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
Environment |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the environment.
|
String |
getDescription()
The description for the environment.
|
String |
getId()
The ID of the environment.
|
EnvironmentLifecycle |
getLifecycle()
The state of the environment in its creation or deletion lifecycle.
|
String |
getName()
The name of the environment.
|
String |
getOwnerArn()
The Amazon Resource Name (ARN) of the environment owner.
|
String |
getType()
The type of environment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
void |
setDescription(String description)
The description for the environment.
|
void |
setId(String id)
The ID of the environment.
|
void |
setLifecycle(EnvironmentLifecycle lifecycle)
The state of the environment in its creation or deletion lifecycle.
|
void |
setName(String name)
The name of the environment.
|
void |
setOwnerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner.
|
void |
setType(String type)
The type of environment.
|
String |
toString()
Returns a string representation of this object.
|
Environment |
withArn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
Environment |
withDescription(String description)
The description for the environment.
|
Environment |
withId(String id)
The ID of the environment.
|
Environment |
withLifecycle(EnvironmentLifecycle lifecycle)
The state of the environment in its creation or deletion lifecycle.
|
Environment |
withName(String name)
The name of the environment.
|
Environment |
withOwnerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner.
|
Environment |
withType(EnvironmentType type)
The type of environment.
|
Environment |
withType(String type)
The type of environment.
|
public void setId(String id)
The ID of the environment.
id
- The ID of the environment.public String getId()
The ID of the environment.
public Environment withId(String id)
The ID of the environment.
id
- The ID of the environment.public void setName(String name)
The name of the environment.
name
- The name of the environment.public String getName()
The name of the environment.
public Environment withName(String name)
The name of the environment.
name
- The name of the environment.public void setDescription(String description)
The description for the environment.
description
- The description for the environment.public String getDescription()
The description for the environment.
public Environment withDescription(String description)
The description for the environment.
description
- The description for the environment.public void setType(String 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.
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.
EnvironmentType
public String getType()
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.
ec2
: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
ssh
: Your own server connects to the environment.
EnvironmentType
public Environment withType(String 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.
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.
EnvironmentType
public Environment withType(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.
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.
EnvironmentType
public void setArn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn
- The Amazon Resource Name (ARN) of the environment.public String getArn()
The Amazon Resource Name (ARN) of the environment.
public Environment withArn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn
- The Amazon Resource Name (ARN) of the environment.public void setOwnerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner.
ownerArn
- The Amazon Resource Name (ARN) of the environment owner.public String getOwnerArn()
The Amazon Resource Name (ARN) of the environment owner.
public Environment withOwnerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner.
ownerArn
- The Amazon Resource Name (ARN) of the environment owner.public void setLifecycle(EnvironmentLifecycle lifecycle)
The state of the environment in its creation or deletion lifecycle.
lifecycle
- The state of the environment in its creation or deletion lifecycle.public EnvironmentLifecycle getLifecycle()
The state of the environment in its creation or deletion lifecycle.
public Environment withLifecycle(EnvironmentLifecycle lifecycle)
The state of the environment in its creation or deletion lifecycle.
lifecycle
- The state of the environment in its creation or deletion lifecycle.public String toString()
toString
in class Object
Object.toString()
public Environment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.