Interface GetAuthorizationTokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAuthorizationTokenResponse.Builder,,GetAuthorizationTokenResponse> EcrPublicResponse.Builder,SdkBuilder<GetAuthorizationTokenResponse.Builder,,GetAuthorizationTokenResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAuthorizationTokenResponse
public static interface GetAuthorizationTokenResponse.Builder
extends EcrPublicResponse.Builder, SdkPojo, CopyableBuilder<GetAuthorizationTokenResponse.Builder,GetAuthorizationTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationData(Consumer<AuthorizationData.Builder> authorizationData) An authorization token data object that corresponds to a public registry.authorizationData(AuthorizationData authorizationData) An authorization token data object that corresponds to 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
authorizationData
An authorization token data object that corresponds to a public registry.
- Parameters:
authorizationData- An authorization token data object that corresponds to a public registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationData
default GetAuthorizationTokenResponse.Builder authorizationData(Consumer<AuthorizationData.Builder> authorizationData) An authorization token data object that corresponds to a public registry.
This is a convenience method that creates an instance of theAuthorizationData.Builderavoiding the need to create one manually viaAuthorizationData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizationData(AuthorizationData).- Parameters:
authorizationData- a consumer that will call methods onAuthorizationData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-