Class FileSizes
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.FileSizes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FileSizes.Builder,FileSizes>
@Generated("software.amazon.awssdk:codegen") public final class FileSizes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FileSizes.Builder,FileSizes>
Information about the size of files in a merge or pull request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFileSizes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Longbase()The size of a file in the base of a merge or pull request.static FileSizes.Builderbuilder()Longdestination()The size of a file in the destination of a merge or pull request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends FileSizes.Builder>serializableBuilderClass()Longsource()The size of a file in the source of a merge or pull request.FileSizes.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
source
public final Long source()
The size of a file in the source of a merge or pull request.
- Returns:
- The size of a file in the source of a merge or pull request.
-
destination
public final Long destination()
The size of a file in the destination of a merge or pull request.
- Returns:
- The size of a file in the destination of a merge or pull request.
-
base
public final Long base()
The size of a file in the base of a merge or pull request.
- Returns:
- The size of a file in the base of a merge or pull request.
-
toBuilder
public FileSizes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FileSizes.Builder,FileSizes>
-
builder
public static FileSizes.Builder builder()
-
serializableBuilderClass
public static Class<? extends FileSizes.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-