Interface ListOntologiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContextResponse.Builder,CopyableBuilder<ListOntologiesResponse.Builder,,ListOntologiesResponse> SdkBuilder<ListOntologiesResponse.Builder,,ListOntologiesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListOntologiesResponse
@Mutable
@NotThreadSafe
public static interface ListOntologiesResponse.Builder
extends ContextResponse.Builder, SdkPojo, CopyableBuilder<ListOntologiesResponse.Builder,ListOntologiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<OntologySummary> items) One entry for each ontology that you own.items(Consumer<OntologySummary.Builder>... items) One entry for each ontology that you own.items(OntologySummary... items) One entry for each ontology that you own.The token for the next page of results.Methods inherited from interface software.amazon.awssdk.services.context.model.ContextResponse.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
One entry for each ontology that you own. Always present, and empty when you have none.
- Parameters:
items- One entry for each ontology that you own. Always present, and empty when you have none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
One entry for each ontology that you own. Always present, and empty when you have none.
- Parameters:
items- One entry for each ontology that you own. Always present, and empty when you have none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
One entry for each ontology that you own. Always present, and empty when you have none.
This is a convenience method that creates an instance of theOntologySummary.Builderavoiding the need to create one manually viaOntologySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<OntologySummary>).- Parameters:
items- a consumer that will call methods onOntologySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next page of results. Pass it as
nextTokenin your next request. Absent on the last page. Treat the token as opaque.- Parameters:
nextToken- The token for the next page of results. Pass it asnextTokenin your next request. Absent on the last page. Treat the token as opaque.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-