Interface GetEnvironmentResponse.Builder

  • Method Details

    • environmentId

      GetEnvironmentResponse.Builder environmentId(String environmentId)

      The unique identifier of the environment.

      Parameters:
      environmentId - The unique identifier of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • environmentArn

      GetEnvironmentResponse.Builder environmentArn(String environmentArn)

      The ARN of the environment.

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

      The customer-visible name of the environment.

      Parameters:
      name - The customer-visible name of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current operational status of the environment.

      Parameters:
      status - The current operational status of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current operational status of the environment.

      Parameters:
      status - The current operational status of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      GetEnvironmentResponse.Builder statusMessage(String statusMessage)

      Human-readable details about the current status. Present when the status requires additional context (e.g., failure reason).

      Parameters:
      statusMessage - Human-readable details about the current status. Present when the status requires additional context (e.g., failure reason).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusUpdatedAt

      GetEnvironmentResponse.Builder statusUpdatedAt(Instant statusUpdatedAt)

      The timestamp when the status last transitioned.

      Parameters:
      statusUpdatedAt - The timestamp when the status last transitioned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The timestamp when the environment was created.

      Parameters:
      createdAt - The timestamp when the environment was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The timestamp when the environment's properties were last updated.

      Parameters:
      updatedAt - The timestamp when the environment's properties were last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.

      Parameters:
      configuration - Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.

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

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

      Parameters:
      configuration - a consumer that will call methods on EnvironmentConfigurationDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: