Interface ReplicationBackfillResult.Builder

  • Method Details

    • repositoryName

      ReplicationBackfillResult.Builder repositoryName(String repositoryName)

      The name of the repository that contains the image.

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

      An object with identifying information for the image.

      Parameters:
      imageId - An object with identifying information for the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageId

      An object with identifying information for the image.

      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 imageId(ImageIdentifier).

      Parameters:
      imageId - 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:
    • status

      The replication status of the image.

      Parameters:
      status - The replication status of the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The replication status of the image.

      Parameters:
      status - The replication status of the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureCode

      ReplicationBackfillResult.Builder failureCode(String failureCode)

      The failure code for a replication that has failed.

      Parameters:
      failureCode - The failure code for a replication that has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subImageFailureCodes

      ReplicationBackfillResult.Builder subImageFailureCodes(Collection<String> subImageFailureCodes)

      The distinct failure codes for the images referenced by a manifest list that failed to replicate. Each failure code appears at most once, regardless of how many referenced images failed with that code. This field is present only when the image is a manifest list.

      Parameters:
      subImageFailureCodes - The distinct failure codes for the images referenced by a manifest list that failed to replicate. Each failure code appears at most once, regardless of how many referenced images failed with that code. This field is present only when the image is a manifest list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subImageFailureCodes

      ReplicationBackfillResult.Builder subImageFailureCodes(String... subImageFailureCodes)

      The distinct failure codes for the images referenced by a manifest list that failed to replicate. Each failure code appears at most once, regardless of how many referenced images failed with that code. This field is present only when the image is a manifest list.

      Parameters:
      subImageFailureCodes - The distinct failure codes for the images referenced by a manifest list that failed to replicate. Each failure code appears at most once, regardless of how many referenced images failed with that code. This field is present only when the image is a manifest list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.