Interface GetObjectAttributesParts.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GetObjectAttributesParts.Builder,,GetObjectAttributesParts> SdkBuilder<GetObjectAttributesParts.Builder,,GetObjectAttributesParts> SdkPojo
- Enclosing class:
GetObjectAttributesParts
-
Method Summary
Modifier and TypeMethodDescriptionisTruncated(Boolean isTruncated) Indicates whether the returned list of parts is truncated.The maximum number of parts allowed in the response.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 thePartNumberMarkerrequest parameter in a subsequent request.partNumberMarker(Integer partNumberMarker) The marker for the current part.parts(Collection<ObjectPart> parts) A container for elements related to a particular part.parts(Consumer<ObjectPart.Builder>... parts) A container for elements related to a particular part.parts(ObjectPart... parts) A container for elements related to a particular part.totalPartsCount(Integer totalPartsCount) The total number of parts.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
When a list is truncated, this element specifies the last part in the list, as well as the value to use for the
PartNumberMarkerrequest 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 thePartNumberMarkerrequest parameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Indicates whether the returned list of parts is truncated. A value of
trueindicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in theMaxPartselement.- Parameters:
isTruncated- Indicates whether the returned list of parts is truncated. A value oftrueindicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in theMaxPartselement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
A container for elements related to a particular part. A response can contain zero or more
Partselements.- Parameters:
parts- A container for elements related to a particular part. A response can contain zero or morePartselements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
A container for elements related to a particular part. A response can contain zero or more
Partselements.- Parameters:
parts- A container for elements related to a particular part. A response can contain zero or morePartselements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
A container for elements related to a particular part. A response can contain zero or more
This is a convenience method that creates an instance of thePartselements.ObjectPart.Builderavoiding the need to create one manually viaObjectPart.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparts(List<ObjectPart>).- 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:
-