public static interface AssetStatus.Builder extends SdkPojo, CopyableBuilder<AssetStatus.Builder,AssetStatus>
| Modifier and Type | Method and Description |
|---|---|
default AssetStatus.Builder |
error(Consumer<ErrorDetails.Builder> error)
Contains associated error information, if any.
|
AssetStatus.Builder |
error(ErrorDetails error)
Contains associated error information, if any.
|
AssetStatus.Builder |
state(AssetState state)
The current status of the asset.
|
AssetStatus.Builder |
state(String state)
The current status of the asset.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssetStatus.Builder state(String state)
The current status of the asset.
state - The current status of the asset.AssetState,
AssetStateAssetStatus.Builder state(AssetState state)
The current status of the asset.
state - The current status of the asset.AssetState,
AssetStateAssetStatus.Builder error(ErrorDetails error)
Contains associated error information, if any.
error - Contains associated error information, if any.default AssetStatus.Builder error(Consumer<ErrorDetails.Builder> error)
Contains associated error information, if any.
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)Copyright © 2022. All rights reserved.