Interface ListObjectAnnotationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListObjectAnnotationsResponse.Builder,,ListObjectAnnotationsResponse> S3Response.Builder,SdkBuilder<ListObjectAnnotationsResponse.Builder,,ListObjectAnnotationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListObjectAnnotationsResponse
@Mutable
@NotThreadSafe
public static interface ListObjectAnnotationsResponse.Builder
extends S3Response.Builder, SdkPojo, CopyableBuilder<ListObjectAnnotationsResponse.Builder,ListObjectAnnotationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionannotationCount(Integer annotationCount) The number of annotations returned.annotationPrefix(String annotationPrefix) The prefix used to filter the response.annotations(Collection<AnnotationEntry> annotations) The list of annotations attached to the object.annotations(Consumer<AnnotationEntry.Builder>... annotations) The list of annotations attached to the object.annotations(AnnotationEntry... annotations) The list of annotations attached to the object.The bucket name.continuationToken(String continuationToken) The continuation token used in this request.The object key.maxAnnotationResults(Integer maxAnnotationResults) The maximum number of annotations returned in the response.nextContinuationToken(String nextContinuationToken) The continuation token to use to retrieve the next page of results.objectVersionId(String objectVersionId) The version ID of the object.requestCharged(String requestCharged) Sets the value of the RequestCharged property for this object.requestCharged(RequestCharged requestCharged) Sets the value of the RequestCharged property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theAnnotationEntry.Builderavoiding the need to create one manually viaAnnotationEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toannotations(List<AnnotationEntry>).- Parameters:
annotations- a consumer that will call methods onAnnotationEntry.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
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
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
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
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
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
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
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
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:
-