@Generated(value="software.amazon.awssdk:codegen") public final class GetFileRequest extends CodeCommitRequest implements ToCopyableBuilder<GetFileRequest.Builder,GetFileRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetFileRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetFileRequest.Builder |
builder() |
String |
commitSpecifier()
The fully quaified reference that identifies the commit that contains the file.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
filePath()
The fully qualified path to the file, including the full name and extension of the file.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
repositoryName()
The name of the repository that contains the file.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetFileRequest.Builder> |
serializableBuilderClass() |
GetFileRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String repositoryName()
The name of the repository that contains the file.
public final String commitSpecifier()
The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/master. If none is provided, the head commit is used.
public final String filePath()
The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.
public GetFileRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetFileRequest.Builder,GetFileRequest>toBuilder in class CodeCommitRequestpublic static GetFileRequest.Builder builder()
public static Class<? extends GetFileRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.