@Generated(value="software.amazon.awssdk:codegen") public final class MergeOperations extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MergeOperations.Builder,MergeOperations>
Information about the file operation conflicts in a merge operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MergeOperations.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MergeOperations.Builder |
builder() |
ChangeTypeEnum |
destination()
The operation on a file in the destination of a merge or pull request.
|
String |
destinationAsString()
The operation on a file in the destination of a merge or pull request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MergeOperations.Builder> |
serializableBuilderClass() |
ChangeTypeEnum |
source()
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
|
String |
sourceAsString()
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
|
MergeOperations.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ChangeTypeEnum source()
The operation (add, modify, or delete) on 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, source will
return ChangeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceAsString().
ChangeTypeEnumpublic final String sourceAsString()
The operation (add, modify, or delete) on 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, source will
return ChangeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceAsString().
ChangeTypeEnumpublic final ChangeTypeEnum destination()
The operation on 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, destination will
return ChangeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
ChangeTypeEnumpublic final String destinationAsString()
The operation on 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, destination will
return ChangeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
ChangeTypeEnumpublic MergeOperations.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MergeOperations.Builder,MergeOperations>public static MergeOperations.Builder builder()
public static Class<? extends MergeOperations.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.