Package io.lakefs.clients.api.model
Class ObjectStats
- java.lang.Object
-
- io.lakefs.clients.api.model.ObjectStats
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ObjectStats extends ObjectObjectStats
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjectStats.PathTypeEnumGets or Sets pathType
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CHECKSUMstatic StringSERIALIZED_NAME_CONTENT_TYPEstatic StringSERIALIZED_NAME_METADATAstatic StringSERIALIZED_NAME_MTIMEstatic StringSERIALIZED_NAME_PATHstatic StringSERIALIZED_NAME_PATH_TYPEstatic StringSERIALIZED_NAME_PHYSICAL_ADDRESSstatic StringSERIALIZED_NAME_PHYSICAL_ADDRESS_EXPIRYstatic StringSERIALIZED_NAME_SIZE_BYTES
-
Constructor Summary
Constructors Constructor Description ObjectStats()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_PATH
public static final String SERIALIZED_NAME_PATH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PATH_TYPE
public static final String SERIALIZED_NAME_PATH_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PHYSICAL_ADDRESS
public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PHYSICAL_ADDRESS_EXPIRY
public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS_EXPIRY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHECKSUM
public static final String SERIALIZED_NAME_CHECKSUM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIZE_BYTES
public static final String SERIALIZED_NAME_SIZE_BYTES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MTIME
public static final String SERIALIZED_NAME_MTIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_METADATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTENT_TYPE
public static final String SERIALIZED_NAME_CONTENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
path
public ObjectStats path(String path)
-
getPath
@Nonnull public String getPath()
Get path- Returns:
- path
-
setPath
public void setPath(String path)
-
pathType
public ObjectStats pathType(ObjectStats.PathTypeEnum pathType)
-
getPathType
@Nonnull public ObjectStats.PathTypeEnum getPathType()
Get pathType- Returns:
- pathType
-
setPathType
public void setPathType(ObjectStats.PathTypeEnum pathType)
-
physicalAddress
public ObjectStats physicalAddress(String physicalAddress)
-
getPhysicalAddress
@Nonnull public String getPhysicalAddress()
The location of the object on the underlying object store. Formatted as a native URI with the object store type as scheme (\"s3://...\", \"gs://...\", etc.) Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET- Returns:
- physicalAddress
-
setPhysicalAddress
public void setPhysicalAddress(String physicalAddress)
-
physicalAddressExpiry
public ObjectStats physicalAddressExpiry(Long physicalAddressExpiry)
-
getPhysicalAddressExpiry
@Nullable public Long getPhysicalAddressExpiry()
If present and nonzero, physical_address is a presigned URL and will expire at this Unix Epoch time. This will be shorter than the presigned URL lifetime if an authentication token is about to expire. This field is *optional*.- Returns:
- physicalAddressExpiry
-
setPhysicalAddressExpiry
public void setPhysicalAddressExpiry(Long physicalAddressExpiry)
-
checksum
public ObjectStats checksum(String checksum)
-
getChecksum
@Nonnull public String getChecksum()
Get checksum- Returns:
- checksum
-
setChecksum
public void setChecksum(String checksum)
-
sizeBytes
public ObjectStats sizeBytes(Long sizeBytes)
-
getSizeBytes
@Nullable public Long getSizeBytes()
Get sizeBytes- Returns:
- sizeBytes
-
setSizeBytes
public void setSizeBytes(Long sizeBytes)
-
mtime
public ObjectStats mtime(Long mtime)
-
getMtime
@Nonnull public Long getMtime()
Unix Epoch in seconds- Returns:
- mtime
-
setMtime
public void setMtime(Long mtime)
-
metadata
public ObjectStats metadata(Map<String,String> metadata)
-
putMetadataItem
public ObjectStats putMetadataItem(String key, String metadataItem)
-
contentType
public ObjectStats contentType(String contentType)
-
getContentType
@Nullable public String getContentType()
Object media type- Returns:
- contentType
-
setContentType
public void setContentType(String contentType)
-
-