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
Modifier and TypeMethodDescriptiondefault PortalStatus.Buildererror(Consumer<MonitorErrorDetails.Builder> error) Contains associated error information, if any.error(MonitorErrorDetails error) Contains associated error information, if any.The current state of the portal.state(PortalState state) The current state of the portal.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:
-
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:
-
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
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:
-