@Generated(value="software.amazon.awssdk:codegen") public final class ListMultipartUploadsResponse extends S3Response implements ToCopyableBuilder<ListMultipartUploadsResponse.Builder,ListMultipartUploadsResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
ListMultipartUploadsResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bucket()
Name of the bucket to which the multipart upload was initiated.
|
static ListMultipartUploadsResponse.Builder |
builder() |
List<CommonPrefix> |
commonPrefixes()
Returns the value of the CommonPrefixes property for this object.
|
String |
delimiter()
Returns the value of the Delimiter property for this object.
|
EncodingType |
encodingType()
Encoding type used by Amazon S3 to encode object keys in the response.
|
String |
encodingTypeAsString()
Encoding type used by Amazon S3 to encode object keys in the response.
|
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() |
Boolean |
isTruncated()
Indicates whether the returned list of multipart uploads is truncated.
|
String |
keyMarker()
The key at or after which the listing began.
|
Integer |
maxUploads()
Maximum number of multipart uploads that could have been included in the response.
|
String |
nextKeyMarker()
When a list is truncated, this element specifies the value that should be used for the key-marker request
parameter in a subsequent request.
|
String |
nextUploadIdMarker()
When a list is truncated, this element specifies the value that should be used for the upload-id-marker request
parameter in a subsequent request.
|
String |
prefix()
When a prefix is provided in the request, this field contains the specified prefix.
|
static Class<? extends ListMultipartUploadsResponse.Builder> |
serializableBuilderClass() |
ListMultipartUploadsResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
uploadIdMarker()
Upload ID after which listing began.
|
List<MultipartUpload> |
uploads()
Returns the value of the Uploads property for this object.
|
sdkHttpResponse
copy
public String bucket()
public String keyMarker()
public String uploadIdMarker()
public String nextKeyMarker()
public String prefix()
public String delimiter()
public String nextUploadIdMarker()
public Integer maxUploads()
public Boolean isTruncated()
public List<MultipartUpload> uploads()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<CommonPrefix> commonPrefixes()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public EncodingType encodingType()
If the service returns an enum value that is not available in the current SDK version, encodingType
will
return EncodingType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
encodingTypeAsString()
.
EncodingType
public String encodingTypeAsString()
If the service returns an enum value that is not available in the current SDK version, encodingType
will
return EncodingType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
encodingTypeAsString()
.
EncodingType
public ListMultipartUploadsResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListMultipartUploadsResponse.Builder,ListMultipartUploadsResponse>
toBuilder
in class AwsResponse
public static ListMultipartUploadsResponse.Builder builder()
public static Class<? extends ListMultipartUploadsResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse
fieldName
- 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.