Modifier and Type | Method and Description |
---|---|
AppStatus |
build()
Return a new instance of
AppStatus based on
the provided individual app instances via
with(AppInstanceStatus) . |
AppStatus.Builder |
generalState(DeploymentState generalState)
Set the state of the app as a direct value.
|
AppStatus.Builder |
with(AppInstanceStatus instance)
Add an instance of
AppInstanceStatus to build the status for
the app. |
public AppStatus.Builder with(AppInstanceStatus instance)
AppInstanceStatus
to build the status for
the app. This will be invoked once per individual app instance.instance
- status of individual app deploymentBuilder
public AppStatus.Builder generalState(DeploymentState generalState)
generalState
- the deployment state to setBuilder
public AppStatus build()
AppStatus
based on
the provided individual app instances via
with(AppInstanceStatus)
.AppStatus
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.