Interface Deployment.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Deployment.Builder,Deployment>, SdkBuilder<Deployment.Builder,Deployment>, SdkPojo
Enclosing class:
Deployment

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

    • deploymentId

      Deployment.Builder deploymentId(String deploymentId)

      The identifier of the last deployment of the environment.

      Parameters:
      deploymentId - The identifier of the last deployment of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentStatus

      Deployment.Builder deploymentStatus(String deploymentStatus)

      The status of the last deployment of the environment.

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

      Deployment.Builder deploymentStatus(DeploymentStatus deploymentStatus)

      The status of the last deployment of the environment.

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

      Deployment.Builder deploymentType(String deploymentType)

      The type of the last deployment of the environment.

      Parameters:
      deploymentType - The type of the last deployment of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deploymentType

      Deployment.Builder deploymentType(DeploymentType deploymentType)

      The type of the last deployment of the environment.

      Parameters:
      deploymentType - The type of the last deployment of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      Deployment.Builder failureReason(EnvironmentError failureReason)

      The failure reason of the last deployment of the environment.

      Parameters:
      failureReason - The failure reason of the last deployment of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      default Deployment.Builder failureReason(Consumer<EnvironmentError.Builder> failureReason)

      The failure reason of the last deployment of the environment.

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

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

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

      Deployment.Builder isDeploymentComplete(Boolean isDeploymentComplete)

      Specifies whether the last deployment of the environment is complete.

      Parameters:
      isDeploymentComplete - Specifies whether the last deployment of the environment is complete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messages

      Deployment.Builder messages(Collection<String> messages)

      The messages of the last deployment of the environment.

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

      Deployment.Builder messages(String... messages)

      The messages of the last deployment of the environment.

      Parameters:
      messages - The messages of the last deployment of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.