Interface GetRegistryCatalogDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRegistryCatalogDataResponse.Builder,,GetRegistryCatalogDataResponse> EcrPublicResponse.Builder,SdkBuilder<GetRegistryCatalogDataResponse.Builder,,GetRegistryCatalogDataResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRegistryCatalogDataResponse
@Mutable
@NotThreadSafe
public static interface GetRegistryCatalogDataResponse.Builder
extends EcrPublicResponse.Builder, SdkPojo, CopyableBuilder<GetRegistryCatalogDataResponse.Builder,GetRegistryCatalogDataResponse>
-
Method Summary
Modifier and TypeMethodDescriptionregistryCatalogData(Consumer<RegistryCatalogData.Builder> registryCatalogData) The catalog metadata for the public registry.registryCatalogData(RegistryCatalogData registryCatalogData) The catalog metadata for the 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
-
registryCatalogData
The catalog metadata for the public registry.
- Parameters:
registryCatalogData- The catalog metadata for the public registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryCatalogData
default GetRegistryCatalogDataResponse.Builder registryCatalogData(Consumer<RegistryCatalogData.Builder> registryCatalogData) The catalog metadata for the public registry.
This is a convenience method that creates an instance of theRegistryCatalogData.Builderavoiding the need to create one manually viaRegistryCatalogData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregistryCatalogData(RegistryCatalogData).- Parameters:
registryCatalogData- a consumer that will call methods onRegistryCatalogData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-