Package io.lakefs.clients.sdk.model
Class StorageConfig
- java.lang.Object
-
- io.lakefs.clients.sdk.model.StorageConfig
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class StorageConfig extends Object
StorageConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStorageConfig.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BLOCKSTORE_NAMESPACE_EXAMPLEstatic StringSERIALIZED_NAME_BLOCKSTORE_NAMESPACE_VALIDITY_REGEXstatic StringSERIALIZED_NAME_BLOCKSTORE_TYPEstatic StringSERIALIZED_NAME_DEFAULT_NAMESPACE_PREFIXstatic StringSERIALIZED_NAME_IMPORT_SUPPORTstatic StringSERIALIZED_NAME_IMPORT_VALIDITY_REGEXstatic StringSERIALIZED_NAME_PRE_SIGN_MULTIPART_UPLOADstatic StringSERIALIZED_NAME_PRE_SIGN_SUPPORTstatic StringSERIALIZED_NAME_PRE_SIGN_SUPPORT_UI
-
Constructor Summary
Constructors Constructor Description StorageConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageConfigblockstoreNamespaceExample(String blockstoreNamespaceExample)StorageConfigblockstoreNamespaceValidityRegex(String blockstoreNamespaceValidityRegex)StorageConfigblockstoreType(String blockstoreType)StorageConfigdefaultNamespacePrefix(String defaultNamespacePrefix)booleanequals(Object o)static StorageConfigfromJson(String jsonString)Create an instance of StorageConfig given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetBlockstoreNamespaceExample()Get blockstoreNamespaceExampleStringgetBlockstoreNamespaceValidityRegex()Get blockstoreNamespaceValidityRegexStringgetBlockstoreType()Get blockstoreTypeStringgetDefaultNamespacePrefix()Get defaultNamespacePrefixBooleangetImportSupport()Get importSupportStringgetImportValidityRegex()Get importValidityRegexBooleangetPreSignMultipartUpload()Get preSignMultipartUploadBooleangetPreSignSupport()Get preSignSupportBooleangetPreSignSupportUi()Get preSignSupportUiinthashCode()StorageConfigimportSupport(Boolean importSupport)StorageConfigimportValidityRegex(String importValidityRegex)StorageConfigpreSignMultipartUpload(Boolean preSignMultipartUpload)StorageConfigpreSignSupport(Boolean preSignSupport)StorageConfigpreSignSupportUi(Boolean preSignSupportUi)StorageConfigputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetBlockstoreNamespaceExample(String blockstoreNamespaceExample)voidsetBlockstoreNamespaceValidityRegex(String blockstoreNamespaceValidityRegex)voidsetBlockstoreType(String blockstoreType)voidsetDefaultNamespacePrefix(String defaultNamespacePrefix)voidsetImportSupport(Boolean importSupport)voidsetImportValidityRegex(String importValidityRegex)voidsetPreSignMultipartUpload(Boolean preSignMultipartUpload)voidsetPreSignSupport(Boolean preSignSupport)voidsetPreSignSupportUi(Boolean preSignSupportUi)StringtoJson()Convert an instance of StorageConfig 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_BLOCKSTORE_TYPE
public static final String SERIALIZED_NAME_BLOCKSTORE_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLOCKSTORE_NAMESPACE_EXAMPLE
public static final String SERIALIZED_NAME_BLOCKSTORE_NAMESPACE_EXAMPLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BLOCKSTORE_NAMESPACE_VALIDITY_REGEX
public static final String SERIALIZED_NAME_BLOCKSTORE_NAMESPACE_VALIDITY_REGEX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEFAULT_NAMESPACE_PREFIX
public static final String SERIALIZED_NAME_DEFAULT_NAMESPACE_PREFIX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRE_SIGN_SUPPORT
public static final String SERIALIZED_NAME_PRE_SIGN_SUPPORT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRE_SIGN_SUPPORT_UI
public static final String SERIALIZED_NAME_PRE_SIGN_SUPPORT_UI
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IMPORT_SUPPORT
public static final String SERIALIZED_NAME_IMPORT_SUPPORT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IMPORT_VALIDITY_REGEX
public static final String SERIALIZED_NAME_IMPORT_VALIDITY_REGEX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRE_SIGN_MULTIPART_UPLOAD
public static final String SERIALIZED_NAME_PRE_SIGN_MULTIPART_UPLOAD
- See Also:
- Constant Field Values
-
-
Method Detail
-
blockstoreType
public StorageConfig blockstoreType(String blockstoreType)
-
getBlockstoreType
@Nonnull public String getBlockstoreType()
Get blockstoreType- Returns:
- blockstoreType
-
setBlockstoreType
public void setBlockstoreType(String blockstoreType)
-
blockstoreNamespaceExample
public StorageConfig blockstoreNamespaceExample(String blockstoreNamespaceExample)
-
getBlockstoreNamespaceExample
@Nonnull public String getBlockstoreNamespaceExample()
Get blockstoreNamespaceExample- Returns:
- blockstoreNamespaceExample
-
setBlockstoreNamespaceExample
public void setBlockstoreNamespaceExample(String blockstoreNamespaceExample)
-
blockstoreNamespaceValidityRegex
public StorageConfig blockstoreNamespaceValidityRegex(String blockstoreNamespaceValidityRegex)
-
getBlockstoreNamespaceValidityRegex
@Nonnull public String getBlockstoreNamespaceValidityRegex()
Get blockstoreNamespaceValidityRegex- Returns:
- blockstoreNamespaceValidityRegex
-
setBlockstoreNamespaceValidityRegex
public void setBlockstoreNamespaceValidityRegex(String blockstoreNamespaceValidityRegex)
-
defaultNamespacePrefix
public StorageConfig defaultNamespacePrefix(String defaultNamespacePrefix)
-
getDefaultNamespacePrefix
@Nullable public String getDefaultNamespacePrefix()
Get defaultNamespacePrefix- Returns:
- defaultNamespacePrefix
-
setDefaultNamespacePrefix
public void setDefaultNamespacePrefix(String defaultNamespacePrefix)
-
preSignSupport
public StorageConfig preSignSupport(Boolean preSignSupport)
-
getPreSignSupport
@Nonnull public Boolean getPreSignSupport()
Get preSignSupport- Returns:
- preSignSupport
-
setPreSignSupport
public void setPreSignSupport(Boolean preSignSupport)
-
preSignSupportUi
public StorageConfig preSignSupportUi(Boolean preSignSupportUi)
-
getPreSignSupportUi
@Nonnull public Boolean getPreSignSupportUi()
Get preSignSupportUi- Returns:
- preSignSupportUi
-
setPreSignSupportUi
public void setPreSignSupportUi(Boolean preSignSupportUi)
-
importSupport
public StorageConfig importSupport(Boolean importSupport)
-
getImportSupport
@Nonnull public Boolean getImportSupport()
Get importSupport- Returns:
- importSupport
-
setImportSupport
public void setImportSupport(Boolean importSupport)
-
importValidityRegex
public StorageConfig importValidityRegex(String importValidityRegex)
-
getImportValidityRegex
@Nonnull public String getImportValidityRegex()
Get importValidityRegex- Returns:
- importValidityRegex
-
setImportValidityRegex
public void setImportValidityRegex(String importValidityRegex)
-
preSignMultipartUpload
public StorageConfig preSignMultipartUpload(Boolean preSignMultipartUpload)
-
getPreSignMultipartUpload
@Nullable public Boolean getPreSignMultipartUpload()
Get preSignMultipartUpload- Returns:
- preSignMultipartUpload
-
setPreSignMultipartUpload
public void setPreSignMultipartUpload(Boolean preSignMultipartUpload)
-
putAdditionalProperty
public StorageConfig 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 StorageConfig 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 StorageConfig
-
fromJson
public static StorageConfig fromJson(String jsonString) throws IOException
Create an instance of StorageConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StorageConfig
- Throws:
IOException- if the JSON string is invalid with respect to StorageConfig
-
toJson
public String toJson()
Convert an instance of StorageConfig to an JSON string- Returns:
- JSON string
-
-