Class ApiOperationAnnotation

java.lang.Object
com.azure.resourcemanager.logic.models.ApiOperationAnnotation

public final class ApiOperationAnnotation extends Object
The Api Operation Annotation.
  • Constructor Details

    • ApiOperationAnnotation

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

    • status

      public StatusAnnotation status()
      Get the status property: The status annotation.
      Returns:
      the status value.
    • withStatus

      public ApiOperationAnnotation withStatus(StatusAnnotation status)
      Set the status property: The status annotation.
      Parameters:
      status - the status value to set.
      Returns:
      the ApiOperationAnnotation object itself.
    • family

      public String family()
      Get the family property: The family.
      Returns:
      the family value.
    • withFamily

      public ApiOperationAnnotation withFamily(String family)
      Set the family property: The family.
      Parameters:
      family - the family value to set.
      Returns:
      the ApiOperationAnnotation object itself.
    • revision

      public Integer revision()
      Get the revision property: The revision.
      Returns:
      the revision value.
    • withRevision

      public ApiOperationAnnotation withRevision(Integer revision)
      Set the revision property: The revision.
      Parameters:
      revision - the revision value to set.
      Returns:
      the ApiOperationAnnotation object itself.
    • validate

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