Interface GetAuthorizationTokenResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<GetAuthorizationTokenResponse.Builder,,GetAuthorizationTokenResponse> EcrResponse.Builder,SdkBuilder<GetAuthorizationTokenResponse.Builder,,GetAuthorizationTokenResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 GetAuthorizationTokenResponse
- 
Method Summary
Modifier and TypeMethodDescriptionauthorizationData(Collection<AuthorizationData> authorizationData) A list of authorization token data objects that correspond to theregistryIdsvalues in the request.authorizationData(Consumer<AuthorizationData.Builder>... authorizationData) A list of authorization token data objects that correspond to theregistryIdsvalues in the request.authorizationData(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
copyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.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
- 
authorizationData
GetAuthorizationTokenResponse.Builder authorizationData(Collection<AuthorizationData> authorizationData) A list of authorization token data objects that correspond to the
registryIdsvalues in the request.The size of the authorization token returned by Amazon ECR is not fixed. We recommend that you don't make assumptions about the maximum size.
- Parameters:
 authorizationData- A list of authorization token data objects that correspond to theregistryIdsvalues in the request.The size of the authorization token returned by Amazon ECR is not fixed. We recommend that you don't make assumptions about the maximum size.
- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
authorizationData
A list of authorization token data objects that correspond to the
registryIdsvalues in the request.The size of the authorization token returned by Amazon ECR is not fixed. We recommend that you don't make assumptions about the maximum size.
- Parameters:
 authorizationData- A list of authorization token data objects that correspond to theregistryIdsvalues in the request.The size of the authorization token returned by Amazon ECR is not fixed. We recommend that you don't make assumptions about the maximum size.
- 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
registryIdsvalues in the request. This is a convenience method that creates an instance of theThe size of the authorization token returned by Amazon ECR is not fixed. We recommend that you don't make assumptions about the maximum size.
AuthorizationData.Builderavoiding the need to create one manually viaAuthorizationData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizationData(List<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:
 
 
 -