@Generated(value="software.amazon.awssdk:codegen") public final class Part extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Part.Builder,Part>
Container for elements related to a part.
Modifier and Type | Class and Description |
---|---|
static interface |
Part.Builder |
Modifier and Type | Method and Description |
---|---|
static Part.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eTag()
Entity tag returned when the part was uploaded.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModified()
Date and time at which the part was uploaded.
|
Integer |
partNumber()
Part number identifying the part.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Part.Builder> |
serializableBuilderClass() |
Long |
size()
Size in bytes of the uploaded part data.
|
Part.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer partNumber()
Part number identifying the part. This is a positive integer between 1 and 10,000.
public final Instant lastModified()
Date and time at which the part was uploaded.
public final String eTag()
Entity tag returned when the part was uploaded.
public final Long size()
Size in bytes of the uploaded part data.
public Part.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Part.Builder,Part>
public static Part.Builder builder()
public static Class<? extends Part.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.