Interface GetEnvironmentResponse.Builder

    • Method Detail

      • applicationId

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

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

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

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

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

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

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

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