Class DeletedAutomationAccountProperties

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.DeletedAutomationAccountProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<DeletedAutomationAccountProperties>

public final class DeletedAutomationAccountProperties extends Object implements com.azure.json.JsonSerializable<DeletedAutomationAccountProperties>
Definition of the deleted automation account properties.
  • Constructor Details

    • DeletedAutomationAccountProperties

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

    • automationAccountResourceId

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

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

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

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

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

      public DeletedAutomationAccountProperties withLocation(String location)
      Set the location property: Gets or sets the location of the resource.
      Parameters:
      location - the location value to set.
      Returns:
      the DeletedAutomationAccountProperties 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DeletedAutomationAccountProperties>
      Throws:
      IOException
    • fromJson

      public static DeletedAutomationAccountProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DeletedAutomationAccountProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DeletedAutomationAccountProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the DeletedAutomationAccountProperties.