Class FlinkStorageProfile
java.lang.Object
com.azure.resourcemanager.hdinsight.containers.models.FlinkStorageProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FlinkStorageProfile>
public final class FlinkStorageProfile
extends Object
implements com.azure.json.JsonSerializable<FlinkStorageProfile>
The storage profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FlinkStorageProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FlinkStorageProfile from the JsonReader.Get the storagekey property: Storage key is only required for wasb(s) storage.Get the storageUri property: Storage account uri which is used for savepoint and checkpoint state.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withStoragekey(String storagekey) Set the storagekey property: Storage key is only required for wasb(s) storage.withStorageUri(String storageUri) Set the storageUri property: Storage account uri which is used for savepoint and checkpoint state.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FlinkStorageProfile
public FlinkStorageProfile()Creates an instance of FlinkStorageProfile class.
-
-
Method Details
-
storageUri
Get the storageUri property: Storage account uri which is used for savepoint and checkpoint state.- Returns:
- the storageUri value.
-
withStorageUri
Set the storageUri property: Storage account uri which is used for savepoint and checkpoint state.- Parameters:
storageUri- the storageUri value to set.- Returns:
- the FlinkStorageProfile object itself.
-
storagekey
Get the storagekey property: Storage key is only required for wasb(s) storage.- Returns:
- the storagekey value.
-
withStoragekey
Set the storagekey property: Storage key is only required for wasb(s) storage.- Parameters:
storagekey- the storagekey value to set.- Returns:
- the FlinkStorageProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<FlinkStorageProfile>- Throws:
IOException
-
fromJson
Reads an instance of FlinkStorageProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FlinkStorageProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the FlinkStorageProfile.
-