Package io.lakefs.clients.api.model
Class StageRangeCreation
- java.lang.Object
-
- io.lakefs.clients.api.model.StageRangeCreation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class StageRangeCreation extends Object
StageRangeCreation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStageRangeCreation.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AFTERstatic StringSERIALIZED_NAME_CONTINUATION_TOKENstatic StringSERIALIZED_NAME_FROM_SOURCE_U_R_Istatic StringSERIALIZED_NAME_PREPEND
-
Constructor Summary
Constructors Constructor Description StageRangeCreation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StageRangeCreationafter(String after)StageRangeCreationcontinuationToken(String continuationToken)booleanequals(Object o)static StageRangeCreationfromJson(String jsonString)Create an instance of StageRangeCreation given an JSON stringStageRangeCreationfromSourceURI(String fromSourceURI)StringgetAfter()Only objects after this key would be ingested.StringgetContinuationToken()Opaque.StringgetFromSourceURI()The source location of the ingested files.StringgetPrepend()A prefix to prepend to ingested objects.inthashCode()StageRangeCreationprepend(String prepend)voidsetAfter(String after)voidsetContinuationToken(String continuationToken)voidsetFromSourceURI(String fromSourceURI)voidsetPrepend(String prepend)StringtoJson()Convert an instance of StageRangeCreation to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_FROM_SOURCE_U_R_I
public static final String SERIALIZED_NAME_FROM_SOURCE_U_R_I
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AFTER
public static final String SERIALIZED_NAME_AFTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PREPEND
public static final String SERIALIZED_NAME_PREPEND
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTINUATION_TOKEN
public static final String SERIALIZED_NAME_CONTINUATION_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromSourceURI
public StageRangeCreation fromSourceURI(String fromSourceURI)
-
getFromSourceURI
@Nonnull public String getFromSourceURI()
The source location of the ingested files. Must match the lakeFS installation blockstore type.- Returns:
- fromSourceURI
-
setFromSourceURI
public void setFromSourceURI(String fromSourceURI)
-
after
public StageRangeCreation after(String after)
-
getAfter
@Nonnull public String getAfter()
Only objects after this key would be ingested.- Returns:
- after
-
setAfter
public void setAfter(String after)
-
prepend
public StageRangeCreation prepend(String prepend)
-
getPrepend
@Nonnull public String getPrepend()
A prefix to prepend to ingested objects.- Returns:
- prepend
-
setPrepend
public void setPrepend(String prepend)
-
continuationToken
public StageRangeCreation continuationToken(String continuationToken)
-
getContinuationToken
@Nullable public String getContinuationToken()
Opaque. Client should pass the continuation_token received from server to continue creation ranges from the same key.- Returns:
- continuationToken
-
setContinuationToken
public void setContinuationToken(String continuationToken)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to StageRangeCreation
-
fromJson
public static StageRangeCreation fromJson(String jsonString) throws IOException
Create an instance of StageRangeCreation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StageRangeCreation
- Throws:
IOException- if the JSON string is invalid with respect to StageRangeCreation
-
toJson
public String toJson()
Convert an instance of StageRangeCreation to an JSON string- Returns:
- JSON string
-
-