@Generated(value="software.amazon.awssdk:codegen") public final class DeleteObjectsResponse extends S3Response implements ToCopyableBuilder<DeleteObjectsResponse.Builder,DeleteObjectsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteObjectsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteObjectsResponse.Builder |
builder() |
List<DeletedObject> |
deleted()
Container element for a successful delete.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<S3Error> |
errors()
Container for a failed delete operation that describes the object that Amazon S3 attempted to delete and the
error it encountered.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDeleted()
Returns true if the Deleted property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasErrors()
Returns true if the Errors property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
RequestCharged |
requestCharged()
Returns the value of the RequestCharged property for this object.
|
String |
requestChargedAsString()
Returns the value of the RequestCharged property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteObjectsResponse.Builder> |
serializableBuilderClass() |
DeleteObjectsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasDeleted()
public List<DeletedObject> deleted()
Container element for a successful delete. It identifies the object that was successfully deleted.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDeleted() to see if a value was sent in this field.
public 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 boolean hasErrors()
public List<S3Error> errors()
Container for a failed delete operation that describes the object that Amazon S3 attempted to delete and the error it encountered.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasErrors() to see if a value was sent in this field.
public DeleteObjectsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteObjectsResponse.Builder,DeleteObjectsResponse>toBuilder in class AwsResponsepublic static DeleteObjectsResponse.Builder builder()
public static Class<? extends DeleteObjectsResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.