Class OperationsDefinition

java.lang.Object
com.azure.resourcemanager.attestation.models.OperationsDefinition

public final class OperationsDefinition extends Object
Definition object with the name and properties of an operation.
  • Constructor Details

    • OperationsDefinition

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

    • name

      public String name()
      Get the name property: Name of the operation.
      Returns:
      the name value.
    • withName

      public OperationsDefinition withName(String name)
      Set the name property: Name of the operation.
      Parameters:
      name - the name value to set.
      Returns:
      the OperationsDefinition object itself.
    • display

      public OperationsDisplayDefinition display()
      Get the display property: Display object with properties of the operation.
      Returns:
      the display value.
    • withDisplay

      public OperationsDefinition withDisplay(OperationsDisplayDefinition display)
      Set the display property: Display object with properties of the operation.
      Parameters:
      display - the display value to set.
      Returns:
      the OperationsDefinition object itself.
    • validate

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