Interface DescribeRegistriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRegistriesResponse.Builder,,DescribeRegistriesResponse> EcrPublicResponse.Builder,SdkBuilder<DescribeRegistriesResponse.Builder,,DescribeRegistriesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRegistriesResponse
@Mutable
@NotThreadSafe
public static interface DescribeRegistriesResponse.Builder
extends EcrPublicResponse.Builder, SdkPojo, CopyableBuilder<DescribeRegistriesResponse.Builder,DescribeRegistriesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextTokenvalue to include in a futureDescribeRepositoriesrequest.registries(Collection<Registry> registries) An object that contains the details for a public registry.registries(Consumer<Registry.Builder>... registries) An object that contains the details for a public registry.registries(Registry... registries) An object that contains the details for a public registry.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecrpublic.model.EcrPublicResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
registries
An object that contains the details for a public registry.
- Parameters:
registries- An object that contains the details for a public registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registries
An object that contains the details for a public registry.
- Parameters:
registries- An object that contains the details for a public registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registries
An object that contains the details for a public registry.
This is a convenience method that creates an instance of theRegistry.Builderavoiding the need to create one manually viaRegistry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregistries(List<Registry>).- Parameters:
registries- a consumer that will call methods onRegistry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenvalue to include in a futureDescribeRepositoriesrequest. If the results of aDescribeRepositoriesrequest exceedmaxResults, you can use this value to retrieve the next page of results. If there are no more results, this value isnull.- Parameters:
nextToken- ThenextTokenvalue to include in a futureDescribeRepositoriesrequest. If the results of aDescribeRepositoriesrequest exceedmaxResults, you can use this value to retrieve the next page of results. If there are no more results, this value isnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-