Interface GetObjectAttributesParts.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<GetObjectAttributesParts.Builder,GetObjectAttributesParts>
,SdkBuilder<GetObjectAttributesParts.Builder,GetObjectAttributesParts>
,SdkPojo
- Enclosing class:
- GetObjectAttributesParts
public static interface GetObjectAttributesParts.Builder extends SdkPojo, CopyableBuilder<GetObjectAttributesParts.Builder,GetObjectAttributesParts>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetObjectAttributesParts.Builder
isTruncated(Boolean isTruncated)
Indicates whether the returned list of parts is truncated.GetObjectAttributesParts.Builder
maxParts(Integer maxParts)
The maximum number of parts allowed in the response.GetObjectAttributesParts.Builder
nextPartNumberMarker(Integer nextPartNumberMarker)
When a list is truncated, this element specifies the last part in the list, as well as the value to use for thePartNumberMarker
request parameter in a subsequent request.GetObjectAttributesParts.Builder
partNumberMarker(Integer partNumberMarker)
The marker for the current part.GetObjectAttributesParts.Builder
parts(Collection<ObjectPart> parts)
A container for elements related to a particular part.GetObjectAttributesParts.Builder
parts(Consumer<ObjectPart.Builder>... parts)
A container for elements related to a particular part.GetObjectAttributesParts.Builder
parts(ObjectPart... parts)
A container for elements related to a particular part.GetObjectAttributesParts.Builder
totalPartsCount(Integer totalPartsCount)
The total number of parts.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
totalPartsCount
GetObjectAttributesParts.Builder totalPartsCount(Integer totalPartsCount)
The total number of parts.
- Parameters:
totalPartsCount
- The total number of parts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partNumberMarker
GetObjectAttributesParts.Builder partNumberMarker(Integer partNumberMarker)
The marker for the current part.
- Parameters:
partNumberMarker
- The marker for the current part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextPartNumberMarker
GetObjectAttributesParts.Builder nextPartNumberMarker(Integer nextPartNumberMarker)
When a list is truncated, this element specifies the last part in the list, as well as the value to use for the
PartNumberMarker
request parameter in a subsequent request.- Parameters:
nextPartNumberMarker
- When a list is truncated, this element specifies the last part in the list, as well as the value to use for thePartNumberMarker
request parameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxParts
GetObjectAttributesParts.Builder maxParts(Integer maxParts)
The maximum number of parts allowed in the response.
- Parameters:
maxParts
- The maximum number of parts allowed in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
GetObjectAttributesParts.Builder isTruncated(Boolean isTruncated)
Indicates whether the returned list of parts is truncated. A value of
true
indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in theMaxParts
element.- Parameters:
isTruncated
- Indicates whether the returned list of parts is truncated. A value oftrue
indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in theMaxParts
element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
GetObjectAttributesParts.Builder parts(Collection<ObjectPart> parts)
A container for elements related to a particular part. A response can contain zero or more
Parts
elements.-
General purpose buckets - For
GetObjectAttributes
, if a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) isn't applied to the object specified in the request, the response doesn't returnPart
. -
Directory buckets - For
GetObjectAttributes
, no matter whether a additional checksum is applied to the object specified in the request, the response returnsPart
.
- Parameters:
parts
- A container for elements related to a particular part. A response can contain zero or moreParts
elements.-
General purpose buckets - For
GetObjectAttributes
, if a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) isn't applied to the object specified in the request, the response doesn't returnPart
. -
Directory buckets - For
GetObjectAttributes
, no matter whether a additional checksum is applied to the object specified in the request, the response returnsPart
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
parts
GetObjectAttributesParts.Builder parts(ObjectPart... parts)
A container for elements related to a particular part. A response can contain zero or more
Parts
elements.-
General purpose buckets - For
GetObjectAttributes
, if a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) isn't applied to the object specified in the request, the response doesn't returnPart
. -
Directory buckets - For
GetObjectAttributes
, no matter whether a additional checksum is applied to the object specified in the request, the response returnsPart
.
- Parameters:
parts
- A container for elements related to a particular part. A response can contain zero or moreParts
elements.-
General purpose buckets - For
GetObjectAttributes
, if a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) isn't applied to the object specified in the request, the response doesn't returnPart
. -
Directory buckets - For
GetObjectAttributes
, no matter whether a additional checksum is applied to the object specified in the request, the response returnsPart
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
parts
GetObjectAttributesParts.Builder parts(Consumer<ObjectPart.Builder>... parts)
A container for elements related to a particular part. A response can contain zero or more
Parts
elements.-
General purpose buckets - For
GetObjectAttributes
, if a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) isn't applied to the object specified in the request, the response doesn't returnPart
. -
Directory buckets - For
GetObjectAttributes
, no matter whether a additional checksum is applied to the object specified in the request, the response returnsPart
.
ObjectPart.Builder
avoiding the need to create one manually viaObjectPart.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#parts(List
.) - Parameters:
parts
- a consumer that will call methods onObjectPart.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#parts(java.util.Collection
)
-
-
-