Class FileModes
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.FileModes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FileModes.Builder,FileModes>
@Generated("software.amazon.awssdk:codegen") public final class FileModes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FileModes.Builder,FileModes>
Information about file modes in a merge or pull request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFileModes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FileModeTypeEnumbase()The file mode of a file in the base of a merge or pull request.StringbaseAsString()The file mode of a file in the base of a merge or pull request.static FileModes.Builderbuilder()FileModeTypeEnumdestination()The file mode of a file in the destination of a merge or pull request.StringdestinationAsString()The file mode 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 FileModes.Builder>serializableBuilderClass()FileModeTypeEnumsource()The file mode of a file in the source of a merge or pull request.StringsourceAsString()The file mode of a file in the source of a merge or pull request.FileModes.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 FileModeTypeEnum source()
The file mode of a file in the source of a merge or pull request.
If the service returns an enum value that is not available in the current SDK version,
sourcewill returnFileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceAsString().- Returns:
- The file mode of a file in the source of a merge or pull request.
- See Also:
FileModeTypeEnum
-
sourceAsString
public final String sourceAsString()
The file mode of a file in the source of a merge or pull request.
If the service returns an enum value that is not available in the current SDK version,
sourcewill returnFileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceAsString().- Returns:
- The file mode of a file in the source of a merge or pull request.
- See Also:
FileModeTypeEnum
-
destination
public final FileModeTypeEnum destination()
The file mode of a file in the destination of a merge or pull request.
If the service returns an enum value that is not available in the current SDK version,
destinationwill returnFileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationAsString().- Returns:
- The file mode of a file in the destination of a merge or pull request.
- See Also:
FileModeTypeEnum
-
destinationAsString
public final String destinationAsString()
The file mode of a file in the destination of a merge or pull request.
If the service returns an enum value that is not available in the current SDK version,
destinationwill returnFileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationAsString().- Returns:
- The file mode of a file in the destination of a merge or pull request.
- See Also:
FileModeTypeEnum
-
base
public final FileModeTypeEnum base()
The file mode of a file in the base of a merge or pull request.
If the service returns an enum value that is not available in the current SDK version,
basewill returnFileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombaseAsString().- Returns:
- The file mode of a file in the base of a merge or pull request.
- See Also:
FileModeTypeEnum
-
baseAsString
public final String baseAsString()
The file mode of a file in the base of a merge or pull request.
If the service returns an enum value that is not available in the current SDK version,
basewill returnFileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombaseAsString().- Returns:
- The file mode of a file in the base of a merge or pull request.
- See Also:
FileModeTypeEnum
-
toBuilder
public FileModes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FileModes.Builder,FileModes>
-
builder
public static FileModes.Builder builder()
-
serializableBuilderClass
public static Class<? extends FileModes.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.
-
-