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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdatePortalResponse.BuilderportalStatus(Consumer<PortalStatus.Builder> portalStatus)The status of the portal, which contains a state (UPDATINGafter successfully calling this operation) and any error message.UpdatePortalResponse.BuilderportalStatus(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
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 Detail
-
portalStatus
UpdatePortalResponse.Builder portalStatus(PortalStatus 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
default UpdatePortalResponse.Builder portalStatus(Consumer<PortalStatus.Builder> 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:
portalStatus(PortalStatus)
-
-