Package io.lakefs.clients.sdk.model
Class GarbageCollectionPrepareResponse
- java.lang.Object
-
- io.lakefs.clients.sdk.model.GarbageCollectionPrepareResponse
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class GarbageCollectionPrepareResponse extends Object
GarbageCollectionPrepareResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGarbageCollectionPrepareResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_GC_ADDRESSES_LOCATIONstatic StringSERIALIZED_NAME_GC_COMMITS_LOCATIONstatic StringSERIALIZED_NAME_GC_COMMITS_PRESIGNED_URLstatic StringSERIALIZED_NAME_RUN_ID
-
Constructor Summary
Constructors Constructor Description GarbageCollectionPrepareResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static GarbageCollectionPrepareResponsefromJson(String jsonString)Create an instance of GarbageCollectionPrepareResponse given an JSON stringGarbageCollectionPrepareResponsegcAddressesLocation(String gcAddressesLocation)GarbageCollectionPrepareResponsegcCommitsLocation(String gcCommitsLocation)GarbageCollectionPrepareResponsegcCommitsPresignedUrl(String gcCommitsPresignedUrl)Map<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetGcAddressesLocation()location to use for expired addresses parquet table (partitioned by run_id)StringgetGcCommitsLocation()location of the resulting commits csv table (partitioned by run_id)StringgetGcCommitsPresignedUrl()a presigned url to download the commits csvStringgetRunId()a unique identifier generated for this GC jobinthashCode()GarbageCollectionPrepareResponseputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.GarbageCollectionPrepareResponserunId(String runId)voidsetGcAddressesLocation(String gcAddressesLocation)voidsetGcCommitsLocation(String gcCommitsLocation)voidsetGcCommitsPresignedUrl(String gcCommitsPresignedUrl)voidsetRunId(String runId)StringtoJson()Convert an instance of GarbageCollectionPrepareResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_RUN_ID
public static final String SERIALIZED_NAME_RUN_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GC_COMMITS_LOCATION
public static final String SERIALIZED_NAME_GC_COMMITS_LOCATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GC_ADDRESSES_LOCATION
public static final String SERIALIZED_NAME_GC_ADDRESSES_LOCATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GC_COMMITS_PRESIGNED_URL
public static final String SERIALIZED_NAME_GC_COMMITS_PRESIGNED_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
runId
public GarbageCollectionPrepareResponse runId(String runId)
-
getRunId
@Nonnull public String getRunId()
a unique identifier generated for this GC job- Returns:
- runId
-
setRunId
public void setRunId(String runId)
-
gcCommitsLocation
public GarbageCollectionPrepareResponse gcCommitsLocation(String gcCommitsLocation)
-
getGcCommitsLocation
@Nonnull public String getGcCommitsLocation()
location of the resulting commits csv table (partitioned by run_id)- Returns:
- gcCommitsLocation
-
setGcCommitsLocation
public void setGcCommitsLocation(String gcCommitsLocation)
-
gcAddressesLocation
public GarbageCollectionPrepareResponse gcAddressesLocation(String gcAddressesLocation)
-
getGcAddressesLocation
@Nonnull public String getGcAddressesLocation()
location to use for expired addresses parquet table (partitioned by run_id)- Returns:
- gcAddressesLocation
-
setGcAddressesLocation
public void setGcAddressesLocation(String gcAddressesLocation)
-
gcCommitsPresignedUrl
public GarbageCollectionPrepareResponse gcCommitsPresignedUrl(String gcCommitsPresignedUrl)
-
getGcCommitsPresignedUrl
@Nullable public String getGcCommitsPresignedUrl()
a presigned url to download the commits csv- Returns:
- gcCommitsPresignedUrl
-
setGcCommitsPresignedUrl
public void setGcCommitsPresignedUrl(String gcCommitsPresignedUrl)
-
putAdditionalProperty
public GarbageCollectionPrepareResponse putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the GarbageCollectionPrepareResponse instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to GarbageCollectionPrepareResponse
-
fromJson
public static GarbageCollectionPrepareResponse fromJson(String jsonString) throws IOException
Create an instance of GarbageCollectionPrepareResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GarbageCollectionPrepareResponse
- Throws:
IOException- if the JSON string is invalid with respect to GarbageCollectionPrepareResponse
-
toJson
public String toJson()
Convert an instance of GarbageCollectionPrepareResponse to an JSON string- Returns:
- JSON string
-
-