@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutFileResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutFileResult() |
Modifier and Type | Method and Description |
---|---|
PutFileResult |
clone() |
boolean |
equals(Object obj) |
String |
getBlobId()
The ID of the blob, which is its SHA-1 pointer.
|
String |
getCommitId()
The full SHA ID of the commit that contains this file change.
|
String |
getTreeId()
The full SHA-1 pointer of the tree information for the commit that contains this file change.
|
int |
hashCode() |
void |
setBlobId(String blobId)
The ID of the blob, which is its SHA-1 pointer.
|
void |
setCommitId(String commitId)
The full SHA ID of the commit that contains this file change.
|
void |
setTreeId(String treeId)
The full SHA-1 pointer of the tree information for the commit that contains this file change.
|
String |
toString()
Returns a string representation of this object.
|
PutFileResult |
withBlobId(String blobId)
The ID of the blob, which is its SHA-1 pointer.
|
PutFileResult |
withCommitId(String commitId)
The full SHA ID of the commit that contains this file change.
|
PutFileResult |
withTreeId(String treeId)
The full SHA-1 pointer of the tree information for the commit that contains this file change.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCommitId(String commitId)
The full SHA ID of the commit that contains this file change.
commitId
- The full SHA ID of the commit that contains this file change.public String getCommitId()
The full SHA ID of the commit that contains this file change.
public PutFileResult withCommitId(String commitId)
The full SHA ID of the commit that contains this file change.
commitId
- The full SHA ID of the commit that contains this file change.public void setBlobId(String blobId)
The ID of the blob, which is its SHA-1 pointer.
blobId
- The ID of the blob, which is its SHA-1 pointer.public String getBlobId()
The ID of the blob, which is its SHA-1 pointer.
public PutFileResult withBlobId(String blobId)
The ID of the blob, which is its SHA-1 pointer.
blobId
- The ID of the blob, which is its SHA-1 pointer.public void setTreeId(String treeId)
The full SHA-1 pointer of the tree information for the commit that contains this file change.
treeId
- The full SHA-1 pointer of the tree information for the commit that contains this file change.public String getTreeId()
The full SHA-1 pointer of the tree information for the commit that contains this file change.
public PutFileResult withTreeId(String treeId)
The full SHA-1 pointer of the tree information for the commit that contains this file change.
treeId
- The full SHA-1 pointer of the tree information for the commit that contains this file change.public String toString()
toString
in class Object
Object.toString()
public PutFileResult clone()