@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Environment extends Object implements Serializable, Cloneable, StructuredPojo
Information about an 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 |
getConnectionType()
The connection type used for connecting to an Amazon EC2 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 |
getManagedCredentialsStatus()
Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.
|
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 |
setConnectionType(String connectionType)
The connection type used for connecting to an Amazon EC2 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 |
setManagedCredentialsStatus(String managedCredentialsStatus)
Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.
|
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 |
withConnectionType(ConnectionType connectionType)
The connection type used for connecting to an Amazon EC2 environment.
|
Environment |
withConnectionType(String connectionType)
The connection type used for connecting to an Amazon EC2 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 |
withManagedCredentialsStatus(ManagedCredentialsStatus managedCredentialsStatus)
Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.
|
Environment |
withManagedCredentialsStatus(String managedCredentialsStatus)
Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.
|
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 setConnectionType(String connectionType)
The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH
is selected by
default.
connectionType
- The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH
is selected
by default.ConnectionType
public String getConnectionType()
The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH
is selected by
default.
CONNECT_SSH
is
selected by default.ConnectionType
public Environment withConnectionType(String connectionType)
The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH
is selected by
default.
connectionType
- The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH
is selected
by default.ConnectionType
public Environment withConnectionType(ConnectionType connectionType)
The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH
is selected by
default.
connectionType
- The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH
is selected
by default.ConnectionType
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 void setManagedCredentialsStatus(String 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
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
ManagedCredentialsStatus
public String getManagedCredentialsStatus()
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
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
ManagedCredentialsStatus
public Environment withManagedCredentialsStatus(String 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
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
ManagedCredentialsStatus
public Environment withManagedCredentialsStatus(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
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
ManagedCredentialsStatus
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.