@Generated(value="software.amazon.awssdk:codegen") public class ListPartsResponse extends S3Response implements ToCopyableBuilder<ListPartsResponse.Builder,ListPartsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListPartsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
Instant |
abortDate()
Date when multipart upload will become eligible for abort operation by lifecycle.
|
String |
abortRuleId()
Id of the lifecycle rule that makes a multipart upload eligible for abort operation.
|
String |
bucket()
Name of the bucket to which the multipart upload was initiated.
|
static ListPartsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse. |
int |
hashCode() |
Initiator |
initiator()
Identifies who initiated the multipart upload.
|
Boolean |
isTruncated()
Indicates whether the returned list of parts is truncated.
|
String |
key()
Object key for which the multipart upload was initiated.
|
Integer |
maxParts()
Maximum number of parts that were allowed in the response.
|
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
part-number-marker request parameter in a subsequent request.
|
Owner |
owner()
Returns the value of the Owner property for this object.
|
Integer |
partNumberMarker()
Part number after which listing begins.
|
List<Part> |
parts()
Returns the value of the Parts property for this object.
|
RequestCharged |
requestCharged()
Returns the value of the RequestCharged property for this object.
|
String |
requestChargedAsString()
Returns the value of the RequestCharged property for this object.
|
static Class<? extends ListPartsResponse.Builder> |
serializableBuilderClass() |
StorageClass |
storageClass()
The class of storage used to store the object.
|
String |
storageClassAsString()
The class of storage used to store the object.
|
ListPartsResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
uploadId()
Upload ID identifying the multipart upload whose parts are being listed.
|
sdkHttpResponsecopypublic Instant abortDate()
public String abortRuleId()
public String bucket()
public String key()
public String uploadId()
public Integer partNumberMarker()
public Integer nextPartNumberMarker()
public Integer maxParts()
public Boolean isTruncated()
public List<Part> parts()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Initiator initiator()
public Owner owner()
public StorageClass storageClass()
If the service returns an enum value that is not available in the current SDK version, storageClass will
return StorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageClassAsString().
StorageClasspublic String storageClassAsString()
If the service returns an enum value that is not available in the current SDK version, storageClass will
return StorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageClassAsString().
StorageClasspublic RequestCharged requestCharged()
If the service returns an enum value that is not available in the current SDK version, requestCharged
will return RequestCharged.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from requestChargedAsString().
RequestChargedpublic String requestChargedAsString()
If the service returns an enum value that is not available in the current SDK version, requestCharged
will return RequestCharged.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from requestChargedAsString().
RequestChargedpublic ListPartsResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ListPartsResponse.Builder,ListPartsResponse>toBuilder in class AwsResponsepublic static ListPartsResponse.Builder builder()
public static Class<? extends ListPartsResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponseSdkResponse. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class) method will
again be available.getValueForField in class SdkResponsefieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.