Interface ListObjectAnnotationsResponse.Builder

  • Method Details

    • annotations

      The list of annotations attached to the object.

      Parameters:
      annotations - The list of annotations attached to the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • annotations

      The list of annotations attached to the object.

      Parameters:
      annotations - The list of annotations attached to the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • annotations

      The list of annotations attached to the object.

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

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

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

      The bucket name.

      Parameters:
      bucket - The bucket name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      The object key.

      Parameters:
      key - The object key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectVersionId

      ListObjectAnnotationsResponse.Builder objectVersionId(String objectVersionId)

      The version ID of the object.

      Parameters:
      objectVersionId - The version ID of the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • annotationPrefix

      ListObjectAnnotationsResponse.Builder annotationPrefix(String annotationPrefix)

      The prefix used to filter the response.

      Parameters:
      annotationPrefix - The prefix used to filter the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxAnnotationResults

      ListObjectAnnotationsResponse.Builder maxAnnotationResults(Integer maxAnnotationResults)

      The maximum number of annotations returned in the response.

      Parameters:
      maxAnnotationResults - The maximum number of annotations returned in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • annotationCount

      ListObjectAnnotationsResponse.Builder annotationCount(Integer annotationCount)

      The number of annotations returned.

      Parameters:
      annotationCount - The number of annotations returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • continuationToken

      ListObjectAnnotationsResponse.Builder continuationToken(String continuationToken)

      The continuation token used in this request.

      Parameters:
      continuationToken - The continuation token used in this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextContinuationToken

      ListObjectAnnotationsResponse.Builder nextContinuationToken(String nextContinuationToken)

      The continuation token to use to retrieve the next page of results.

      Parameters:
      nextContinuationToken - The continuation token to use to retrieve the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestCharged

      ListObjectAnnotationsResponse.Builder requestCharged(String requestCharged)
      Sets the value of the RequestCharged property for this object.
      Parameters:
      requestCharged - The new value for the RequestCharged property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestCharged

      ListObjectAnnotationsResponse.Builder requestCharged(RequestCharged requestCharged)
      Sets the value of the RequestCharged property for this object.
      Parameters:
      requestCharged - The new value for the RequestCharged property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: