@Generated(value="software.amazon.awssdk:codegen") public final class CopyObjectResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CopyObjectResult.Builder,CopyObjectResult>
Container for all response elements.
Modifier and Type | Class and Description |
---|---|
static interface |
CopyObjectResult.Builder |
Modifier and Type | Method and Description |
---|---|
static CopyObjectResult.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eTag()
Returns the ETag of the new object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModified()
Returns the date that the object was last modified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CopyObjectResult.Builder> |
serializableBuilderClass() |
CopyObjectResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String eTag()
Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata. The source and destination ETag is identical for a successfully copied object.
public Instant lastModified()
Returns the date that the object was last modified.
public CopyObjectResult.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CopyObjectResult.Builder,CopyObjectResult>
public static CopyObjectResult.Builder builder()
public static Class<? extends CopyObjectResult.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.