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 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

      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

      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

      Environment.Builder connectionType(String 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

      Environment.Builder connectionType(ConnectionType 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

      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

      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 the EnvironmentLifecycle.Builder avoiding the need to create one manually via EnvironmentLifecycle.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lifecycle(EnvironmentLifecycle).

      Parameters:
      lifecycle - a consumer that will call methods on EnvironmentLifecycle.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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: