Interface PortalStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PortalStatus.Builder,PortalStatus>,SdkBuilder<PortalStatus.Builder,PortalStatus>,SdkPojo
- Enclosing class:
- PortalStatus
public static interface PortalStatus.Builder extends SdkPojo, CopyableBuilder<PortalStatus.Builder,PortalStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PortalStatus.Buildererror(Consumer<MonitorErrorDetails.Builder> error)Contains associated error information, if any.PortalStatus.Buildererror(MonitorErrorDetails error)Contains associated error information, if any.PortalStatus.Builderstate(String state)The current state of the portal.PortalStatus.Builderstate(PortalState state)The current state of the portal.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
state
PortalStatus.Builder state(String state)
The current state of the portal.
- Parameters:
state- The current state of the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PortalState,PortalState
-
state
PortalStatus.Builder state(PortalState state)
The current state of the portal.
- Parameters:
state- The current state of the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PortalState,PortalState
-
error
PortalStatus.Builder error(MonitorErrorDetails error)
Contains associated error information, if any.
- Parameters:
error- Contains associated error information, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
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.Builderavoiding the need to create one manually viaMonitorErrorDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(MonitorErrorDetails).- Parameters:
error- a consumer that will call methods onMonitorErrorDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(MonitorErrorDetails)
-
-