Interface Environment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Environment.Builder,
,Environment> SdkBuilder<Environment.Builder,
,Environment> SdkPojo
- Enclosing class:
Environment
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the environment.connectionType
(String connectionType) The connection type used for connecting to an Amazon EC2 environment.connectionType
(ConnectionType connectionType) The connection type used for connecting to an Amazon EC2 environment.description
(String description) The description for the environment.The ID of the environment.default Environment.Builder
lifecycle
(Consumer<EnvironmentLifecycle.Builder> lifecycle) The state of the environment in its creation or deletion lifecycle.lifecycle
(EnvironmentLifecycle lifecycle) The state of the environment in its creation or deletion lifecycle.managedCredentialsStatus
(String managedCredentialsStatus) Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.managedCredentialsStatus
(ManagedCredentialsStatus managedCredentialsStatus) Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.The name of the environment.The Amazon Resource Name (ARN) of the environment owner.The type of environment.type
(EnvironmentType type) The type of environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The ID of the environment.
- Parameters:
id
- The ID of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the environment.
- Parameters:
name
- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the environment.
- Parameters:
description
- The description for the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
connectionType
The connection type used for connecting to an Amazon EC2 environment.
CONNECT_SSH
is selected by default.- Parameters:
connectionType
- The connection type used for connecting to an Amazon EC2 environment.CONNECT_SSH
is selected by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionType
The connection type used for connecting to an Amazon EC2 environment.
CONNECT_SSH
is selected by default.- Parameters:
connectionType
- The connection type used for connecting to an Amazon EC2 environment.CONNECT_SSH
is selected by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arn
The Amazon Resource Name (ARN) of the environment.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerArn
The Amazon Resource Name (ARN) of the environment owner.
- Parameters:
ownerArn
- The Amazon Resource Name (ARN) of the environment owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
The state of the environment in its creation or deletion lifecycle.
- Parameters:
lifecycle
- The state of the environment in its creation or deletion lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
The state of the environment in its creation or deletion lifecycle.
This is a convenience method that creates an instance of theEnvironmentLifecycle.Builder
avoiding the need to create one manually viaEnvironmentLifecycle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycle(EnvironmentLifecycle)
.- Parameters:
lifecycle
- a consumer that will call methods onEnvironmentLifecycle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-