Interface Environment.Builder

    • 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_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, ConnectionType
      • 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:
        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.
      • 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