@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 String repositoryName()
The name of the repository that contains the file.
public 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 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.