Interface Environment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Environment.Builder,Environment>,SdkBuilder<Environment.Builder,Environment>,SdkPojo
- Enclosing class:
- Environment
public static interface Environment.Builder extends SdkPojo, CopyableBuilder<Environment.Builder,Environment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Environment.Builderarn(String arn)The Amazon Resource Name (ARN) of the environment.Environment.BuilderconnectionType(String connectionType)The connection type used for connecting to an Amazon EC2 environment.Environment.BuilderconnectionType(ConnectionType connectionType)The connection type used for connecting to an Amazon EC2 environment.Environment.Builderdescription(String description)The description for the environment.Environment.Builderid(String id)The ID of the environment.default Environment.Builderlifecycle(Consumer<EnvironmentLifecycle.Builder> lifecycle)The state of the environment in its creation or deletion lifecycle.Environment.Builderlifecycle(EnvironmentLifecycle lifecycle)The state of the environment in its creation or deletion lifecycle.Environment.BuildermanagedCredentialsStatus(String managedCredentialsStatus)Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.Environment.BuildermanagedCredentialsStatus(ManagedCredentialsStatus managedCredentialsStatus)Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment.Environment.Buildername(String name)The name of the environment.Environment.BuilderownerArn(String ownerArn)The Amazon Resource Name (ARN) of the environment owner.Environment.Buildertype(String type)The type of environment.Environment.Buildertype(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 Detail
-
id
Environment.Builder id(String 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
Environment.Builder name(String 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
Environment.Builder description(String 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
Environment.Builder type(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.
- 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:
EnvironmentType,EnvironmentType
-
-
type
Environment.Builder type(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.
- 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:
EnvironmentType,EnvironmentType
-
-
connectionType
Environment.Builder connectionType(String connectionType)
The connection type used for connecting to an Amazon EC2 environment.
CONNECT_SSHis selected by default.- Parameters:
connectionType- The connection type used for connecting to an Amazon EC2 environment.CONNECT_SSHis selected by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionType,ConnectionType
-
connectionType
Environment.Builder connectionType(ConnectionType connectionType)
The connection type used for connecting to an Amazon EC2 environment.
CONNECT_SSHis selected by default.- Parameters:
connectionType- The connection type used for connecting to an Amazon EC2 environment.CONNECT_SSHis selected by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionType,ConnectionType
-
arn
Environment.Builder arn(String 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
Environment.Builder ownerArn(String 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
Environment.Builder lifecycle(EnvironmentLifecycle 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
default Environment.Builder lifecycle(Consumer<EnvironmentLifecycle.Builder> lifecycle)
The state of the environment in its creation or deletion lifecycle.
This is a convenience method that creates an instance of theEnvironmentLifecycle.Builderavoiding the need to create one manually viaEnvironmentLifecycle.builder().When the
Consumercompletes,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:
lifecycle(EnvironmentLifecycle)
-
managedCredentialsStatus
Environment.Builder managedCredentialsStatus(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
- 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,ManagedCredentialsStatus
-
-
managedCredentialsStatus
Environment.Builder managedCredentialsStatus(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
- 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,ManagedCredentialsStatus
-
-
-