Interface ListPortalsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPortalsResponse.Builder,,ListPortalsResponse> SdkBuilder<ListPortalsResponse.Builder,,ListPortalsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesWebResponse.Builder
- Enclosing class:
ListPortalsResponse
public static interface ListPortalsResponse.Builder
extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<ListPortalsResponse.Builder,ListPortalsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token used to retrieve the next page of results for this operation.portals(Collection<PortalSummary> portals) The portals in the list.portals(Consumer<PortalSummary.Builder>... portals) The portals in the list.portals(PortalSummary... portals) The portals in the list.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The pagination token used to retrieve the next page of results for this operation.
- Parameters:
nextToken- The pagination token used to retrieve the next page of results for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portals
The portals in the list.
- Parameters:
portals- The portals in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portals
The portals in the list.
- Parameters:
portals- The portals in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portals
The portals in the list.
This is a convenience method that creates an instance of thePortalSummary.Builderavoiding the need to create one manually viaPortalSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toportals(List<PortalSummary>).- Parameters:
portals- a consumer that will call methods onPortalSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-