Class DeletedAutomationAccount

java.lang.Object
com.azure.resourcemanager.automation.models.DeletedAutomationAccount

public final class DeletedAutomationAccount extends Object
Definition of the deleted automation account type.
  • Constructor Details

    • DeletedAutomationAccount

      public DeletedAutomationAccount()
  • Method Details

    • id

      public String id()
      Get the id property: The resource id.
      Returns:
      the id value.
    • withId

      public DeletedAutomationAccount withId(String id)
      Set the id property: The resource id.
      Parameters:
      id - the id value to set.
      Returns:
      the DeletedAutomationAccount object itself.
    • name

      public String name()
      Get the name property: Gets or sets name of the resource.
      Returns:
      the name value.
    • withName

      public DeletedAutomationAccount withName(String name)
      Set the name property: Gets or sets name of the resource.
      Parameters:
      name - the name value to set.
      Returns:
      the DeletedAutomationAccount object itself.
    • type

      public String type()
      Get the type property: The resource type.
      Returns:
      the type value.
    • withType

      public DeletedAutomationAccount withType(String type)
      Set the type property: The resource type.
      Parameters:
      type - the type value to set.
      Returns:
      the DeletedAutomationAccount object itself.
    • location

      public String location()
      Get the location property: Gets or sets the location of the resource.
      Returns:
      the location value.
    • withLocation

      public DeletedAutomationAccount withLocation(String location)
      Set the location property: Gets or sets the location of the resource.
      Parameters:
      location - the location value to set.
      Returns:
      the DeletedAutomationAccount object itself.
    • automationAccountResourceId

      public String automationAccountResourceId()
      Get the automationAccountResourceId property: Gets or sets the Automation Account Resource Id.
      Returns:
      the automationAccountResourceId value.
    • withAutomationAccountResourceId

      public DeletedAutomationAccount withAutomationAccountResourceId(String automationAccountResourceId)
      Set the automationAccountResourceId property: Gets or sets the Automation Account Resource Id.
      Parameters:
      automationAccountResourceId - the automationAccountResourceId value to set.
      Returns:
      the DeletedAutomationAccount object itself.
    • automationAccountId

      public String automationAccountId()
      Get the automationAccountId property: Gets or sets the Automation Account Id.
      Returns:
      the automationAccountId value.
    • withAutomationAccountId

      public DeletedAutomationAccount withAutomationAccountId(String automationAccountId)
      Set the automationAccountId property: Gets or sets the Automation Account Id.
      Parameters:
      automationAccountId - the automationAccountId value to set.
      Returns:
      the DeletedAutomationAccount object itself.
    • locationPropertiesLocation

      public String locationPropertiesLocation()
      Get the location property: Gets or sets the location of the resource.
      Returns:
      the location value.
    • withLocationPropertiesLocation

      public DeletedAutomationAccount withLocationPropertiesLocation(String location)
      Set the location property: Gets or sets the location of the resource.
      Parameters:
      location - the location value to set.
      Returns:
      the DeletedAutomationAccount object itself.
    • deletionTime

      public OffsetDateTime deletionTime()
      Get the deletionTime property: Gets the deletion time.
      Returns:
      the deletionTime value.
    • validate

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