Interface ListRegistriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRegistriesResponse.Builder,,ListRegistriesResponse> SchemasResponse.Builder,SdkBuilder<ListRegistriesResponse.Builder,,ListRegistriesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRegistriesResponse
public static interface ListRegistriesResponse.Builder
extends SchemasResponse.Builder, SdkPojo, CopyableBuilder<ListRegistriesResponse.Builder,ListRegistriesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token that specifies the next page of results to return.registries(Collection<RegistrySummary> registries) An array of registry summaries.registries(Consumer<RegistrySummary.Builder>... registries) An array of registry summaries.registries(RegistrySummary... registries) An array of registry summaries.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.schemas.model.SchemasResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
nextToken
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
- Parameters:
nextToken- The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registries
An array of registry summaries.
- Parameters:
registries- An array of registry summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registries
An array of registry summaries.
- Parameters:
registries- An array of registry summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registries
An array of registry summaries.
This is a convenience method that creates an instance of theRegistrySummary.Builderavoiding the need to create one manually viaRegistrySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregistries(List<RegistrySummary>).- Parameters:
registries- a consumer that will call methods onRegistrySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-