Interface CreateEnvironmentResponse.Builder

All Superinterfaces:
AppConfigResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<CreateEnvironmentResponse.Builder,CreateEnvironmentResponse>, SdkBuilder<CreateEnvironmentResponse.Builder,CreateEnvironmentResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateEnvironmentResponse

public static interface CreateEnvironmentResponse.Builder extends AppConfigResponse.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentResponse.Builder,CreateEnvironmentResponse>
  • Method Details

    • applicationId

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

      The environment ID.

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

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

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

      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

      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<Monitor>).

      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: