Interface GetLifecyclePolicyPreviewRequest.Builder

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

public static interface GetLifecyclePolicyPreviewRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<GetLifecyclePolicyPreviewRequest.Builder,GetLifecyclePolicyPreviewRequest>
  • Method Details

    • registryId

      The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

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

      GetLifecyclePolicyPreviewRequest.Builder repositoryName(String repositoryName)

      The name of the repository.

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

      The list of imageIDs to be included.

      Parameters:
      imageIds - The list of imageIDs to be included.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageIds

      The list of imageIDs to be included.

      Parameters:
      imageIds - The list of imageIDs to be included.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageIds

      The list of imageIDs to be included.

      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

      The nextToken value returned from a previous paginated
 GetLifecyclePolicyPreviewRequest 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. This value is
 null when there are no more results to return. This option cannot be used when you specify images with imageIds.

      Parameters:
      nextToken - The nextToken value returned from a previous paginated
 GetLifecyclePolicyPreviewRequest 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. This value is
 null when there are no more results to return. This option cannot be used when you specify images with imageIds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest in
 paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest only returns
 maxResults results in a single page along with a nextToken
 response element. The remaining results of the initial request can be seen by sending
 another GetLifecyclePolicyPreviewRequest request with the returned nextToken
 value. This value can be between 1 and 1000. If this
 parameter is not used, then GetLifecyclePolicyPreviewRequest returns up to
 100 results and a nextToken value, if
 applicable. This option cannot be used when you specify images with imageIds.

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

      An optional parameter that filters results based on image tag status and all tags, if tagged.

      Parameters:
      filter - An optional parameter that filters results based on image tag status and all tags, if tagged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      An optional parameter that filters results based on image tag status and all tags, if tagged.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filter(LifecyclePolicyPreviewFilter).

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

      GetLifecyclePolicyPreviewRequest.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.