Class PlacementKeyValuePairs

java.lang.Object
com.azure.resourcemanager.netapp.models.PlacementKeyValuePairs

public final class PlacementKeyValuePairs extends Object
Application specific parameters for the placement of volumes in the volume group.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of PlacementKeyValuePairs class.
  • Method Summary

    Modifier and Type
    Method
    Description
    key()
    Get the key property: Key for an application specific parameter for the placement of volumes in the volume group.
    void
    Validates the instance.
    Get the value property: Value for an application specific parameter for the placement of volumes in the volume group.
    Set the key property: Key for an application specific parameter for the placement of volumes in the volume group.
    Set the value property: Value for an application specific parameter for the placement of volumes in the volume group.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlacementKeyValuePairs

      public PlacementKeyValuePairs()
      Creates an instance of PlacementKeyValuePairs class.
  • Method Details

    • key

      public String key()
      Get the key property: Key for an application specific parameter for the placement of volumes in the volume group.
      Returns:
      the key value.
    • withKey

      public PlacementKeyValuePairs withKey(String key)
      Set the key property: Key for an application specific parameter for the placement of volumes in the volume group.
      Parameters:
      key - the key value to set.
      Returns:
      the PlacementKeyValuePairs object itself.
    • value

      public String value()
      Get the value property: Value for an application specific parameter for the placement of volumes in the volume group.
      Returns:
      the value value.
    • withValue

      public PlacementKeyValuePairs withValue(String value)
      Set the value property: Value for an application specific parameter for the placement of volumes in the volume group.
      Parameters:
      value - the value value to set.
      Returns:
      the PlacementKeyValuePairs object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.