@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileMetadata extends Object implements Serializable, Cloneable, StructuredPojo
A file to be added, updated, or deleted as part of a commit.
Constructor and Description |
---|
FileMetadata() |
Modifier and Type | Method and Description |
---|---|
FileMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getAbsolutePath()
The full path to the file to be added or updated, including the name of the file.
|
String |
getBlobId()
The blob ID that contains the file information.
|
String |
getFileMode()
The extrapolated file mode permissions for the file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAbsolutePath(String absolutePath)
The full path to the file to be added or updated, including the name of the file.
|
void |
setBlobId(String blobId)
The blob ID that contains the file information.
|
void |
setFileMode(String fileMode)
The extrapolated file mode permissions for the file.
|
String |
toString()
Returns a string representation of this object.
|
FileMetadata |
withAbsolutePath(String absolutePath)
The full path to the file to be added or updated, including the name of the file.
|
FileMetadata |
withBlobId(String blobId)
The blob ID that contains the file information.
|
FileMetadata |
withFileMode(FileModeTypeEnum fileMode)
The extrapolated file mode permissions for the file.
|
FileMetadata |
withFileMode(String fileMode)
The extrapolated file mode permissions for the file.
|
public void setAbsolutePath(String absolutePath)
The full path to the file to be added or updated, including the name of the file.
absolutePath
- The full path to the file to be added or updated, including the name of the file.public String getAbsolutePath()
The full path to the file to be added or updated, including the name of the file.
public FileMetadata withAbsolutePath(String absolutePath)
The full path to the file to be added or updated, including the name of the file.
absolutePath
- The full path to the file to be added or updated, including the name of the file.public void setBlobId(String blobId)
The blob ID that contains the file information.
blobId
- The blob ID that contains the file information.public String getBlobId()
The blob ID that contains the file information.
public FileMetadata withBlobId(String blobId)
The blob ID that contains the file information.
blobId
- The blob ID that contains the file information.public void setFileMode(String fileMode)
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
fileMode
- The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.FileModeTypeEnum
public String getFileMode()
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
FileModeTypeEnum
public FileMetadata withFileMode(String fileMode)
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
fileMode
- The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.FileModeTypeEnum
public FileMetadata withFileMode(FileModeTypeEnum fileMode)
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
fileMode
- The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.FileModeTypeEnum
public String toString()
toString
in class Object
Object.toString()
public FileMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.