Class SourceFileSpecifier
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.SourceFileSpecifier
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceFileSpecifier.Builder,SourceFileSpecifier>
@Generated("software.amazon.awssdk:codegen") public final class SourceFileSpecifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceFileSpecifier.Builder,SourceFileSpecifier>
Information about a source file that is part of changes made in a commit.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceFileSpecifier.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceFileSpecifier.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilePath()The full path to the file, including the name of the file.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisMove()Whether to remove the source file from the parent commit.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceFileSpecifier.Builder>serializableBuilderClass()SourceFileSpecifier.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
-
filePath
public final String filePath()
The full path to the file, including the name of the file.
- Returns:
- The full path to the file, including the name of the file.
-
isMove
public final Boolean isMove()
Whether to remove the source file from the parent commit.
- Returns:
- Whether to remove the source file from the parent commit.
-
toBuilder
public SourceFileSpecifier.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceFileSpecifier.Builder,SourceFileSpecifier>
-
builder
public static SourceFileSpecifier.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceFileSpecifier.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-