@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetFileRequest() |
Modifier and Type | Method and Description |
---|---|
GetFileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCommitSpecifier()
The fully quaified reference that identifies the commit that contains the file.
|
String |
getFilePath()
The fully qualified path to the file, including the full name and extension of the file.
|
String |
getRepositoryName()
The name of the repository that contains the file.
|
int |
hashCode() |
void |
setCommitSpecifier(String commitSpecifier)
The fully quaified reference that identifies the commit that contains the file.
|
void |
setFilePath(String filePath)
The fully qualified path to the file, including the full name and extension of the file.
|
void |
setRepositoryName(String repositoryName)
The name of the repository that contains the file.
|
String |
toString()
Returns a string representation of this object.
|
GetFileRequest |
withCommitSpecifier(String commitSpecifier)
The fully quaified reference that identifies the commit that contains the file.
|
GetFileRequest |
withFilePath(String filePath)
The fully qualified path to the file, including the full name and extension of the file.
|
GetFileRequest |
withRepositoryName(String repositoryName)
The name of the repository that contains the file.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRepositoryName(String repositoryName)
The name of the repository that contains the file.
repositoryName
- The name of the repository that contains the file.public String getRepositoryName()
The name of the repository that contains the file.
public GetFileRequest withRepositoryName(String repositoryName)
The name of the repository that contains the file.
repositoryName
- The name of the repository that contains the file.public void setCommitSpecifier(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.
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 getCommitSpecifier()
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 GetFileRequest withCommitSpecifier(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.
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 void setFilePath(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.
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 String getFilePath()
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 withFilePath(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.
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 String toString()
toString
in class Object
Object.toString()
public GetFileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()