@Generated(value="software.amazon.awssdk:codegen") public final class ObjectTypes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ObjectTypes.Builder,ObjectTypes>
Information about the type of an object in a merge operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ObjectTypes.Builder |
| Modifier and Type | Method and Description |
|---|---|
ObjectTypeEnum |
base()
The type of the object in the base commit of the merge.
|
String |
baseAsString()
The type of the object in the base commit of the merge.
|
static ObjectTypes.Builder |
builder() |
ObjectTypeEnum |
destination()
The type of the object in the destination branch.
|
String |
destinationAsString()
The type of the object in the destination branch.
|
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 ObjectTypes.Builder> |
serializableBuilderClass() |
ObjectTypeEnum |
source()
The type of the object in the source branch.
|
String |
sourceAsString()
The type of the object in the source branch.
|
ObjectTypes.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ObjectTypeEnum source()
The type of the object in the source branch.
If the service returns an enum value that is not available in the current SDK version, source will
return ObjectTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceAsString().
ObjectTypeEnumpublic final String sourceAsString()
The type of the object in the source branch.
If the service returns an enum value that is not available in the current SDK version, source will
return ObjectTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceAsString().
ObjectTypeEnumpublic final ObjectTypeEnum destination()
The type of the object in the destination branch.
If the service returns an enum value that is not available in the current SDK version, destination will
return ObjectTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
ObjectTypeEnumpublic final String destinationAsString()
The type of the object in the destination branch.
If the service returns an enum value that is not available in the current SDK version, destination will
return ObjectTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
ObjectTypeEnumpublic final ObjectTypeEnum base()
The type of the object in the base commit of the merge.
If the service returns an enum value that is not available in the current SDK version, base will return
ObjectTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
baseAsString().
ObjectTypeEnumpublic final String baseAsString()
The type of the object in the base commit of the merge.
If the service returns an enum value that is not available in the current SDK version, base will return
ObjectTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
baseAsString().
ObjectTypeEnumpublic ObjectTypes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ObjectTypes.Builder,ObjectTypes>public static ObjectTypes.Builder builder()
public static Class<? extends ObjectTypes.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.