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.BuilderportalStatus(Consumer<PortalStatus.Builder> portalStatus) The status of the portal, which contains a state (UPDATINGafter successfully calling this operation) and any error message.portalStatus(PortalStatus portalStatus) The status of the portal, which contains a state (UPDATINGafter successfully calling this operation) and any error message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
portalStatus
The status of the portal, which contains a state (
UPDATINGafter successfully calling this operation) and any error message.- Parameters:
portalStatus- The status of the portal, which contains a state (UPDATINGafter 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 theUPDATINGafter successfully calling this operation) and any error message.PortalStatus.Builderavoiding the need to create one manually viaPortalStatus.builder().When the
Consumercompletes,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:
-