Interface Environment.Builder

    • Method Detail

      • applicationId

        Environment.Builder applicationId​(String applicationId)

        The application ID.

        Parameters:
        applicationId - The application ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        Environment.Builder id​(String id)

        The environment ID.

        Parameters:
        id - The environment ID.
        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 of the environment.

        Parameters:
        description - The description of the environment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        Environment.Builder state​(String state)

        The state of the environment. An environment can be in one of the following states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK

        Parameters:
        state - The state of the environment. An environment can be in one of the following states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EnvironmentState, EnvironmentState
      • state

        Environment.Builder state​(EnvironmentState state)

        The state of the environment. An environment can be in one of the following states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK

        Parameters:
        state - The state of the environment. An environment can be in one of the following states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EnvironmentState, EnvironmentState
      • monitors

        Environment.Builder monitors​(Collection<Monitor> monitors)

        Amazon CloudWatch alarms monitored during the deployment.

        Parameters:
        monitors - Amazon CloudWatch alarms monitored during the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • monitors

        Environment.Builder monitors​(Monitor... monitors)

        Amazon CloudWatch alarms monitored during the deployment.

        Parameters:
        monitors - Amazon CloudWatch alarms monitored during the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • monitors

        Environment.Builder monitors​(Consumer<Monitor.Builder>... monitors)

        Amazon CloudWatch alarms monitored during the deployment.

        This is a convenience method that creates an instance of the Monitor.Builder avoiding the need to create one manually via Monitor.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #monitors(List).

        Parameters:
        monitors - a consumer that will call methods on Monitor.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #monitors(java.util.Collection)