Class RoleInstanceProperties

java.lang.Object
com.azure.resourcemanager.hybridnetwork.fluent.models.RoleInstanceProperties

public final class RoleInstanceProperties extends Object
The role instance properties of the network function.
  • Constructor Details

    • RoleInstanceProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the RoleInstance resource.
      Returns:
      the provisioningState value.
    • operationalState

      public OperationalState operationalState()
      Get the operationalState property: The operational state of the role instance.
      Returns:
      the operationalState value.
    • withOperationalState

      public RoleInstanceProperties withOperationalState(OperationalState operationalState)
      Set the operationalState property: The operational state of the role instance.
      Parameters:
      operationalState - the operationalState value to set.
      Returns:
      the RoleInstanceProperties object itself.
    • validate

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