Class SwapResourceInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.SwapResourceInner

public final class SwapResourceInner extends Object
SwapResource to represent slot type on the specified cloud service.
  • Constructor Details

    • SwapResourceInner

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

    • id

      public String id()
      Get the id property: Resource Id.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: Resource name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • properties

      public SwapResourceProperties properties()
      Get the properties property: Swap resource properties.
      Returns:
      the properties value.
    • withProperties

      public SwapResourceInner withProperties(SwapResourceProperties properties)
      Set the properties property: Swap resource properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the SwapResourceInner object itself.
    • validate

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