Interface GetAuthorizationTokenResponse.Builder

  • Method Details

    • authorizationData

      A list of authorization token data objects that correspond to the registryIds values 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 the registryIds values 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(AuthorizationData... authorizationData)

      A list of authorization token data objects that correspond to the registryIds values 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 the registryIds values 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 registryIds values 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.

      This is a convenience method that creates an instance of the AuthorizationData.Builder avoiding the need to create one manually via AuthorizationData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to authorizationData(List<AuthorizationData>).

      Parameters:
      authorizationData - a consumer that will call methods on AuthorizationData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: