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_TOKEN
-
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 presigned URL to use when uploadingStringgetToken()opaque staging token to use to link uploaded objectinthashCode()StagingLocationphysicalAddress(String physicalAddress)StagingLocationpresignedUrl(String presignedUrl)voidsetPhysicalAddress(String physicalAddress)voidsetPresignedUrl(String presignedUrl)voidsetToken(String token)StagingLocationtoken(String token)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_PHYSICAL_ADDRESS
public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOKEN
public static final String SERIALIZED_NAME_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRESIGNED_URL
public static final String SERIALIZED_NAME_PRESIGNED_URL
- 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)
-
token
public StagingLocation token(String token)
-
getToken
@Nonnull public String getToken()
opaque staging token to use to link uploaded object- Returns:
- token
-
setToken
public void setToken(String token)
-
presignedUrl
public StagingLocation presignedUrl(String presignedUrl)
-
getPresignedUrl
@Nullable public String getPresignedUrl()
if presign=true is passed in the request, this field will contain a presigned URL to use when uploading- Returns:
- presignedUrl
-
setPresignedUrl
public void setPresignedUrl(String presignedUrl)
-
-