Interface GetLifecyclePolicyPreviewRequest.Builder

    • Method Detail

      • registryId

        GetLifecyclePolicyPreviewRequest.Builder registryId​(String 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

        GetLifecyclePolicyPreviewRequest.Builder imageIds​(ImageIdentifier... 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.
      • nextToken

        GetLifecyclePolicyPreviewRequest.Builder nextToken​(String 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

        GetLifecyclePolicyPreviewRequest.Builder maxResults​(Integer 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

        GetLifecyclePolicyPreviewRequest.Builder filter​(LifecyclePolicyPreviewFilter 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.