Interface ListPortalsResponse.Builder
- All Superinterfaces:
ApiPortalResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPortalsResponse.Builder,,ListPortalsResponse> SdkBuilder<ListPortalsResponse.Builder,,ListPortalsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPortalsResponse
@Mutable
@NotThreadSafe
public static interface ListPortalsResponse.Builder
extends ApiPortalResponse.Builder, SdkPojo, CopyableBuilder<ListPortalsResponse.Builder,ListPortalsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<PortalSummary> items) The portals in this page of results.items(Consumer<PortalSummary.Builder>... items) The portals in this page of results.items(PortalSummary... items) The portals in this page of results.The token to pass in the next request to get the next page.Methods inherited from interface software.amazon.awssdk.services.apiportal.model.ApiPortalResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The portals in this page of results.
- Parameters:
items- The portals in this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The portals in this page of results.
- Parameters:
items- The portals in this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The portals in this page of results.
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 toitems(List<PortalSummary>).- Parameters:
items- 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:
-
nextToken
The token to pass in the next request to get the next page. Absent when there are no more results.
- Parameters:
nextToken- The token to pass in the next request to get the next page. Absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-