@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class File extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a file in a repository.
Constructor and Description |
---|
File() |
Modifier and Type | Method and Description |
---|---|
File |
clone() |
boolean |
equals(Object obj) |
String |
getAbsolutePath()
The fully qualified path to the file in the repository.
|
String |
getBlobId()
The blob ID that contains the file information.
|
String |
getFileMode()
The extrapolated file mode permissions for the file.
|
String |
getRelativePath()
The relative path of the file from the folder where the query originated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAbsolutePath(String absolutePath)
The fully qualified path to the file in the repository.
|
void |
setBlobId(String blobId)
The blob ID that contains the file information.
|
void |
setFileMode(String fileMode)
The extrapolated file mode permissions for the file.
|
void |
setRelativePath(String relativePath)
The relative path of the file from the folder where the query originated.
|
String |
toString()
Returns a string representation of this object.
|
File |
withAbsolutePath(String absolutePath)
The fully qualified path to the file in the repository.
|
File |
withBlobId(String blobId)
The blob ID that contains the file information.
|
File |
withFileMode(FileModeTypeEnum fileMode)
The extrapolated file mode permissions for the file.
|
File |
withFileMode(String fileMode)
The extrapolated file mode permissions for the file.
|
File |
withRelativePath(String relativePath)
The relative path of the file from the folder where the query originated.
|
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 File withBlobId(String blobId)
The blob ID that contains the file information.
blobId
- The blob ID that contains the file information.public void setAbsolutePath(String absolutePath)
The fully qualified path to the file in the repository.
absolutePath
- The fully qualified path to the file in the repository.public String getAbsolutePath()
The fully qualified path to the file in the repository.
public File withAbsolutePath(String absolutePath)
The fully qualified path to the file in the repository.
absolutePath
- The fully qualified path to the file in the repository.public void setRelativePath(String relativePath)
The relative path of the file from the folder where the query originated.
relativePath
- The relative path of the file from the folder where the query originated.public String getRelativePath()
The relative path of the file from the folder where the query originated.
public File withRelativePath(String relativePath)
The relative path of the file from the folder where the query originated.
relativePath
- The relative path of the file from the folder where the query originated.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 File 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 File 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.