public static final class FileProperties.Builder
extends java.lang.Object
FileProperties
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
FileProperties . |
Modifier and Type | Method and Description |
---|---|
FileProperties |
build() |
FileProperties.Builder |
setCreatedEpochMs(java.lang.Long createdEpochMs)
File creation time in epoch milliseconds format: int64
|
FileProperties.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
FileProperties.Builder |
setModifiedEpochMs(java.lang.Long modifiedEpochMs)
File modification time in epoch milliseconds format: int64
|
FileProperties.Builder |
setName(java.lang.String name)
File name
|
FileProperties.Builder |
setPath(java.lang.String path)
File path
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
FileProperties.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
FileProperties.Builder |
setSelf(SelfResourceLink self) |
FileProperties.Builder |
setSize(java.lang.Long size)
Size of the file in bytes format: int64
|
public Builder()
FileProperties
.public FileProperties.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public FileProperties.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public FileProperties.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public FileProperties.Builder setCreatedEpochMs(java.lang.Long createdEpochMs)
createdEpochMs
- New value for the property.public FileProperties.Builder setModifiedEpochMs(java.lang.Long modifiedEpochMs)
modifiedEpochMs
- New value for the property.public FileProperties.Builder setName(java.lang.String name)
name
- New value for the property.public FileProperties.Builder setPath(java.lang.String path)
path
- New value for the property.public FileProperties.Builder setSize(java.lang.Long size)
size
- New value for the property.public FileProperties build()