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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPortalsResponse.BuildernextToken(String nextToken)The pagination token used to retrieve the next page of results for this operation.ListPortalsResponse.Builderportals(Collection<PortalSummary> portals)The portals in the list.ListPortalsResponse.Builderportals(Consumer<PortalSummary.Builder>... portals)The portals in the list.ListPortalsResponse.Builderportals(PortalSummary... portals)The portals in the list.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
nextToken
ListPortalsResponse.Builder nextToken(String 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
ListPortalsResponse.Builder portals(Collection<PortalSummary> 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
ListPortalsResponse.Builder portals(PortalSummary... 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
ListPortalsResponse.Builder portals(Consumer<PortalSummary.Builder>... 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 to#portals(List.) - 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:
#portals(java.util.Collection)
-
-