Interface UpdatePortalResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdatePortalResponse.Builder,
,UpdatePortalResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<UpdatePortalResponse.Builder,
,UpdatePortalResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdatePortalResponse
public static interface UpdatePortalResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<UpdatePortalResponse.Builder,UpdatePortalResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatePortalResponse.Builder
portalStatus
(Consumer<PortalStatus.Builder> portalStatus) The status of the portal, which contains a state (UPDATING
after successfully calling this operation) and any error message.portalStatus
(PortalStatus portalStatus) The status of the portal, which contains a state (UPDATING
after successfully calling this operation) and any error message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
portalStatus
The status of the portal, which contains a state (
UPDATING
after successfully calling this operation) and any error message.- Parameters:
portalStatus
- The status of the portal, which contains a state (UPDATING
after successfully calling this operation) and any error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portalStatus
The status of the portal, which contains a state (
This is a convenience method that creates an instance of theUPDATING
after successfully calling this operation) and any error message.PortalStatus.Builder
avoiding the need to create one manually viaPortalStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportalStatus(PortalStatus)
.- Parameters:
portalStatus
- a consumer that will call methods onPortalStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-