@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BlobMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a specific Git blob object.
Constructor and Description |
---|
BlobMetadata() |
Modifier and Type | Method and Description |
---|---|
BlobMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getBlobId()
The full ID of the blob.
|
String |
getMode()
The file mode permissions of the blob.
|
String |
getPath()
The path to the blob and associated file name, if any.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBlobId(String blobId)
The full ID of the blob.
|
void |
setMode(String mode)
The file mode permissions of the blob.
|
void |
setPath(String path)
The path to the blob and associated file name, if any.
|
String |
toString()
Returns a string representation of this object.
|
BlobMetadata |
withBlobId(String blobId)
The full ID of the blob.
|
BlobMetadata |
withMode(String mode)
The file mode permissions of the blob.
|
BlobMetadata |
withPath(String path)
The path to the blob and associated file name, if any.
|
public void setBlobId(String blobId)
The full ID of the blob.
blobId
- The full ID of the blob.public String getBlobId()
The full ID of the blob.
public BlobMetadata withBlobId(String blobId)
The full ID of the blob.
blobId
- The full ID of the blob.public void setPath(String path)
The path to the blob and associated file name, if any.
path
- The path to the blob and associated file name, if any.public String getPath()
The path to the blob and associated file name, if any.
public BlobMetadata withPath(String path)
The path to the blob and associated file name, if any.
path
- The path to the blob and associated file name, if any.public void setMode(String mode)
The file mode permissions of the blob. File mode permission codes include:
100644
indicates read/write
100755
indicates read/write/execute
160000
indicates a submodule
120000
indicates a symlink
mode
- The file mode permissions of the blob. File mode permission codes include:
100644
indicates read/write
100755
indicates read/write/execute
160000
indicates a submodule
120000
indicates a symlink
public String getMode()
The file mode permissions of the blob. File mode permission codes include:
100644
indicates read/write
100755
indicates read/write/execute
160000
indicates a submodule
120000
indicates a symlink
100644
indicates read/write
100755
indicates read/write/execute
160000
indicates a submodule
120000
indicates a symlink
public BlobMetadata withMode(String mode)
The file mode permissions of the blob. File mode permission codes include:
100644
indicates read/write
100755
indicates read/write/execute
160000
indicates a submodule
120000
indicates a symlink
mode
- The file mode permissions of the blob. File mode permission codes include:
100644
indicates read/write
100755
indicates read/write/execute
160000
indicates a submodule
120000
indicates a symlink
public String toString()
toString
in class Object
Object.toString()
public BlobMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.