@Generated(value="software.amazon.awssdk:codegen") public final class ListObjectVersionsResponse extends S3Response implements ToCopyableBuilder<ListObjectVersionsResponse.Builder,ListObjectVersionsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListObjectVersionsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListObjectVersionsResponse.Builder |
builder() |
List<CommonPrefix> |
commonPrefixes()
|
List<DeleteMarkerEntry> |
deleteMarkers()
|
String |
delimiter()
|
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) |
int |
hashCode() |
Boolean |
isTruncated()
A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria.
|
String |
keyMarker()
Marks the last Key returned in a truncated response.
|
Integer |
maxKeys()
|
String |
name()
|
String |
nextKeyMarker()
Use this value for the key marker request parameter in a subsequent request.
|
String |
nextVersionIdMarker()
Use this value for the next version id marker parameter in a subsequent request.
|
String |
prefix()
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListObjectVersionsResponse.Builder> |
serializableBuilderClass() |
ListObjectVersionsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionIdMarker()
|
List<ObjectVersion> |
versions()
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Boolean isTruncated()
A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request using the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in another request to return the rest of the results.
public String keyMarker()
Marks the last Key returned in a truncated response.
public String versionIdMarker()
public String nextKeyMarker()
Use this value for the key marker request parameter in a subsequent request.
public String nextVersionIdMarker()
Use this value for the next version id marker parameter in a subsequent request.
public List<ObjectVersion> versions()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<DeleteMarkerEntry> deleteMarkers()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String name()
public String prefix()
public String delimiter()
public Integer maxKeys()
public List<CommonPrefix> commonPrefixes()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public EncodingType encodingType()
Encoding type used by Amazon S3 to encode object keys in the response.
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().
EncodingTypepublic String encodingTypeAsString()
Encoding type used by Amazon S3 to encode object keys in the response.
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().
EncodingTypepublic ListObjectVersionsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListObjectVersionsResponse.Builder,ListObjectVersionsResponse>toBuilder in class AwsResponsepublic static ListObjectVersionsResponse.Builder builder()
public static Class<? extends ListObjectVersionsResponse.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.