Package io.lakefs.clients.api.model
Class StagingLocation
- java.lang.Object
-
- io.lakefs.clients.api.model.StagingLocation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class StagingLocation extends Objectlocation for placing an object when staging it
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_PHYSICAL_ADDRESSstatic StringSERIALIZED_NAME_PRESIGNED_URLstatic StringSERIALIZED_NAME_PRESIGNED_URL_EXPIRY
-
Constructor Summary
Constructors Constructor Description StagingLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetPhysicalAddress()Get physicalAddressStringgetPresignedUrl()if presign=true is passed in the request, this field will contain a pre-signed URL to use when uploadingLonggetPresignedUrlExpiry()If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time.inthashCode()StagingLocationphysicalAddress(String physicalAddress)StagingLocationpresignedUrl(String presignedUrl)StagingLocationpresignedUrlExpiry(Long presignedUrlExpiry)voidsetPhysicalAddress(String physicalAddress)voidsetPresignedUrl(String presignedUrl)voidsetPresignedUrlExpiry(Long presignedUrlExpiry)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_PHYSICAL_ADDRESS
public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRESIGNED_URL
public static final String SERIALIZED_NAME_PRESIGNED_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRESIGNED_URL_EXPIRY
public static final String SERIALIZED_NAME_PRESIGNED_URL_EXPIRY
- See Also:
- Constant Field Values
-
-
Method Detail
-
physicalAddress
public StagingLocation physicalAddress(String physicalAddress)
-
getPhysicalAddress
@Nullable public String getPhysicalAddress()
Get physicalAddress- Returns:
- physicalAddress
-
setPhysicalAddress
public void setPhysicalAddress(String physicalAddress)
-
presignedUrl
public StagingLocation presignedUrl(String presignedUrl)
-
getPresignedUrl
@Nullable public String getPresignedUrl()
if presign=true is passed in the request, this field will contain a pre-signed URL to use when uploading- Returns:
- presignedUrl
-
setPresignedUrl
public void setPresignedUrl(String presignedUrl)
-
presignedUrlExpiry
public StagingLocation presignedUrlExpiry(Long presignedUrlExpiry)
-
getPresignedUrlExpiry
@Nullable public Long getPresignedUrlExpiry()
If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*.- Returns:
- presignedUrlExpiry
-
setPresignedUrlExpiry
public void setPresignedUrlExpiry(Long presignedUrlExpiry)
-
-