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
    Constructor
    Description
    Creates an instance of FlinkStorageProfile class.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(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.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    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, wait

    Methods 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

      public String storageUri()
      Get the storageUri property: Storage account uri which is used for savepoint and checkpoint state.
      Returns:
      the storageUri value.
    • withStorageUri

      public FlinkStorageProfile withStorageUri(String storageUri)
      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

      public String storagekey()
      Get the storagekey property: Storage key is only required for wasb(s) storage.
      Returns:
      the storagekey value.
    • withStoragekey

      public FlinkStorageProfile withStoragekey(String storagekey)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<FlinkStorageProfile>
      Throws:
      IOException
    • fromJson

      public static FlinkStorageProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.