Interface ListImageVersionsRequest.Builder

    • Method Detail

      • creationTimeAfter

        ListImageVersionsRequest.Builder creationTimeAfter​(Instant creationTimeAfter)

        A filter that returns only versions created on or after the specified time.

        Parameters:
        creationTimeAfter - A filter that returns only versions created on or after the specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimeBefore

        ListImageVersionsRequest.Builder creationTimeBefore​(Instant creationTimeBefore)

        A filter that returns only versions created on or before the specified time.

        Parameters:
        creationTimeBefore - A filter that returns only versions created on or before the specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageName

        ListImageVersionsRequest.Builder imageName​(String imageName)

        The name of the image to list the versions of.

        Parameters:
        imageName - The name of the image to list the versions of.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTimeAfter

        ListImageVersionsRequest.Builder lastModifiedTimeAfter​(Instant lastModifiedTimeAfter)

        A filter that returns only versions modified on or after the specified time.

        Parameters:
        lastModifiedTimeAfter - A filter that returns only versions modified on or after the specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTimeBefore

        ListImageVersionsRequest.Builder lastModifiedTimeBefore​(Instant lastModifiedTimeBefore)

        A filter that returns only versions modified on or before the specified time.

        Parameters:
        lastModifiedTimeBefore - A filter that returns only versions modified on or before the specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListImageVersionsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of versions to return in the response. The default value is 10.

        Parameters:
        maxResults - The maximum number of versions to return in the response. The default value is 10.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListImageVersionsRequest.Builder nextToken​(String nextToken)

        If the previous call to ListImageVersions didn't return the full set of versions, the call returns a token for getting the next set of versions.

        Parameters:
        nextToken - If the previous call to ListImageVersions didn't return the full set of versions, the call returns a token for getting the next set of versions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListImageVersionsRequest.Builder sortBy​(String sortBy)

        The property used to sort results. The default value is CREATION_TIME.

        Parameters:
        sortBy - The property used to sort results. The default value is CREATION_TIME.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImageVersionSortBy, ImageVersionSortBy