public static interface Status.Builder extends SdkPojo, CopyableBuilder<Status.Builder,Status>
| Modifier and Type | Method and Description |
|---|---|
default Status.Builder |
error(Consumer<ErrorDetails.Builder> error)
The error message.
|
Status.Builder |
error(ErrorDetails error)
The error message.
|
Status.Builder |
state(State state)
The current state of the entity, component, component type, or workspace.
|
Status.Builder |
state(String state)
The current state of the entity, component, component type, or workspace.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStatus.Builder error(ErrorDetails error)
The error message.
error - The error message.default Status.Builder error(Consumer<ErrorDetails.Builder> error)
The error message.
This is a convenience method that creates an instance of theErrorDetails.Builder avoiding the need
to create one manually via ErrorDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to error(ErrorDetails).error - a consumer that will call methods on ErrorDetails.Buildererror(ErrorDetails)Status.Builder state(String state)
The current state of the entity, component, component type, or workspace.
Status.Builder state(State state)
The current state of the entity, component, component type, or workspace.
Copyright © 2022. All rights reserved.