public static interface PortalStatus.Builder extends SdkPojo, CopyableBuilder<PortalStatus.Builder,PortalStatus>
| Modifier and Type | Method and Description |
|---|---|
default PortalStatus.Builder |
error(Consumer<MonitorErrorDetails.Builder> error)
Contains associated error information, if any.
|
PortalStatus.Builder |
error(MonitorErrorDetails error)
Contains associated error information, if any.
|
PortalStatus.Builder |
state(PortalState state)
The current state of the portal.
|
PortalStatus.Builder |
state(String state)
The current state of the portal.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPortalStatus.Builder state(String state)
The current state of the portal.
state - The current state of the portal.PortalState,
PortalStatePortalStatus.Builder state(PortalState state)
The current state of the portal.
state - The current state of the portal.PortalState,
PortalStatePortalStatus.Builder error(MonitorErrorDetails error)
Contains associated error information, if any.
error - Contains associated error information, if any.default PortalStatus.Builder error(Consumer<MonitorErrorDetails.Builder> error)
Contains associated error information, if any.
This is a convenience method that creates an instance of theMonitorErrorDetails.Builder avoiding the
need to create one manually via MonitorErrorDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to error(MonitorErrorDetails).
error - a consumer that will call methods on MonitorErrorDetails.Buildererror(MonitorErrorDetails)Copyright © 2022. All rights reserved.