@Generated(value="software.amazon.awssdk:codegen") public final class ReplaceContentEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplaceContentEntry.Builder,ReplaceContentEntry>
Information about a replacement content entry in the conflict of a merge or pull request operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplaceContentEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ReplaceContentEntry.Builder |
builder() |
SdkBytes |
content()
The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FileModeTypeEnum |
fileMode()
The file mode to apply during conflict resoltion.
|
String |
fileModeAsString()
The file mode to apply during conflict resoltion.
|
String |
filePath()
The path of the conflicting file.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ReplacementTypeEnum |
replacementType()
The replacement type to use when determining how to resolve the conflict.
|
String |
replacementTypeAsString()
The replacement type to use when determining how to resolve the conflict.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReplaceContentEntry.Builder> |
serializableBuilderClass() |
ReplaceContentEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String filePath()
The path of the conflicting file.
public final ReplacementTypeEnum replacementType()
The replacement type to use when determining how to resolve the conflict.
If the service returns an enum value that is not available in the current SDK version, replacementType
will return ReplacementTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from replacementTypeAsString().
ReplacementTypeEnumpublic final String replacementTypeAsString()
The replacement type to use when determining how to resolve the conflict.
If the service returns an enum value that is not available in the current SDK version, replacementType
will return ReplacementTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from replacementTypeAsString().
ReplacementTypeEnumpublic final SdkBytes content()
The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
public final FileModeTypeEnum fileMode()
The file mode to apply during conflict resoltion.
If the service returns an enum value that is not available in the current SDK version, fileMode will
return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fileModeAsString().
FileModeTypeEnumpublic final String fileModeAsString()
The file mode to apply during conflict resoltion.
If the service returns an enum value that is not available in the current SDK version, fileMode will
return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fileModeAsString().
FileModeTypeEnumpublic ReplaceContentEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReplaceContentEntry.Builder,ReplaceContentEntry>public static ReplaceContentEntry.Builder builder()
public static Class<? extends ReplaceContentEntry.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.