Interface GetAuthorizationTokenResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAuthorizationTokenResponse.Builder,GetAuthorizationTokenResponse>,EcrResponse.Builder,SdkBuilder<GetAuthorizationTokenResponse.Builder,GetAuthorizationTokenResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAuthorizationTokenResponse
public static interface GetAuthorizationTokenResponse.Builder extends EcrResponse.Builder, SdkPojo, CopyableBuilder<GetAuthorizationTokenResponse.Builder,GetAuthorizationTokenResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetAuthorizationTokenResponse.BuilderauthorizationData(Collection<AuthorizationData> authorizationData)A list of authorization token data objects that correspond to theregistryIdsvalues in the request.GetAuthorizationTokenResponse.BuilderauthorizationData(Consumer<AuthorizationData.Builder>... authorizationData)A list of authorization token data objects that correspond to theregistryIdsvalues in the request.GetAuthorizationTokenResponse.BuilderauthorizationData(AuthorizationData... authorizationData)A list of authorization token data objects that correspond to theregistryIdsvalues in the request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
authorizationData
GetAuthorizationTokenResponse.Builder authorizationData(Collection<AuthorizationData> authorizationData)
A list of authorization token data objects that correspond to the
registryIdsvalues in the request.- Parameters:
authorizationData- A list of authorization token data objects that correspond to theregistryIdsvalues in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationData
GetAuthorizationTokenResponse.Builder authorizationData(AuthorizationData... authorizationData)
A list of authorization token data objects that correspond to the
registryIdsvalues in the request.- Parameters:
authorizationData- A list of authorization token data objects that correspond to theregistryIdsvalues in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationData
GetAuthorizationTokenResponse.Builder authorizationData(Consumer<AuthorizationData.Builder>... authorizationData)
A list of authorization token data objects that correspond to the
This is a convenience method that creates an instance of theregistryIdsvalues in the request.AuthorizationData.Builderavoiding the need to create one manually viaAuthorizationData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#authorizationData(List.) - 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:
#authorizationData(java.util.Collection)
-
-