Interface DescribeImagesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DescribeImagesRequest.Builder,DescribeImagesRequest>, EcrPublicRequest.Builder, SdkBuilder<DescribeImagesRequest.Builder,DescribeImagesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribeImagesRequest

public static interface DescribeImagesRequest.Builder extends EcrPublicRequest.Builder, SdkPojo, CopyableBuilder<DescribeImagesRequest.Builder,DescribeImagesRequest>
  • Method Details

    • registryId

      DescribeImagesRequest.Builder registryId(String registryId)

      The Amazon Web Services account ID that's associated with the public registry that contains the repository where images are described. If you do not specify a registry, the default public registry is assumed.

      Parameters:
      registryId - The Amazon Web Services account ID that's associated with the public registry that contains the repository where images are described. If you do not specify a registry, the default public registry is assumed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryName

      DescribeImagesRequest.Builder repositoryName(String repositoryName)

      The repository that contains the images to describe.

      Parameters:
      repositoryName - The repository that contains the images to describe.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageIds

      The list of image IDs for the requested repository.

      Parameters:
      imageIds - The list of image IDs for the requested repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageIds

      The list of image IDs for the requested repository.

      Parameters:
      imageIds - The list of image IDs for the requested repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageIds

      The list of image IDs for the requested repository.

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

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

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

      DescribeImagesRequest.Builder nextToken(String nextToken)

      The nextToken value that's returned from a previous paginated DescribeImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. If there are no more results to return, this value is null. If you specify images with imageIds, you can't use this option.

      Parameters:
      nextToken - The nextToken value that's returned from a previous paginated DescribeImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. If there are no more results to return, this value is null. If you specify images with imageIds, you can't use this option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      DescribeImagesRequest.Builder maxResults(Integer maxResults)

      The maximum number of repository results that's returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. If you specify images with imageIds, you can't use this option.

      Parameters:
      maxResults - The maximum number of repository results that's returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. If you specify images with imageIds, you can't use this option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeImagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.