@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileModes.Builder |
| Modifier and Type | Method and Description |
|---|---|
FileModeTypeEnum |
base()
The file mode of a file in the base of a merge or pull request.
|
String |
baseAsString()
The file mode of a file in the base of a merge or pull request.
|
static FileModes.Builder |
builder() |
FileModeTypeEnum |
destination()
The file mode of a file in the destination of a merge or pull request.
|
String |
destinationAsString()
The file mode of 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 FileModes.Builder> |
serializableBuilderClass() |
FileModeTypeEnum |
source()
The file mode of a file in the source of a merge or pull request.
|
String |
sourceAsString()
The file mode of a file in the source of a merge or pull request.
|
FileModes.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, source will
return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceAsString().
FileModeTypeEnumpublic 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, source will
return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sourceAsString().
FileModeTypeEnumpublic 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, destination will
return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
FileModeTypeEnumpublic 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, destination will
return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
FileModeTypeEnumpublic 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, base will return
FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
baseAsString().
FileModeTypeEnumpublic 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, base will return
FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
baseAsString().
FileModeTypeEnumpublic FileModes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FileModes.Builder,FileModes>public static FileModes.Builder builder()
public static Class<? extends FileModes.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.