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 Summary
ConstructorsConstructorDescriptionCreates an instance of DeletedAutomationAccountProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the automationAccountId property: Gets or sets the Automation Account Id.Get the automationAccountResourceId property: Gets or sets the Automation Account Resource Id.Get the deletionTime property: Gets the deletion time.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DeletedAutomationAccountProperties from the JsonReader.location()
Get the location property: Gets or sets the location of the resource.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAutomationAccountId
(String automationAccountId) Set the automationAccountId property: Gets or sets the Automation Account Id.withAutomationAccountResourceId
(String automationAccountResourceId) Set the automationAccountResourceId property: Gets or sets the Automation Account Resource Id.withLocation
(String location) Set the location property: Gets or sets the location of the resource.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DeletedAutomationAccountProperties
public DeletedAutomationAccountProperties()Creates an instance of DeletedAutomationAccountProperties class.
-
-
Method Details
-
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
Get the automationAccountId property: Gets or sets the Automation Account Id.- Returns:
- the automationAccountId value.
-
withAutomationAccountId
Set the automationAccountId property: Gets or sets the Automation Account Id.- Parameters:
automationAccountId
- the automationAccountId value to set.- Returns:
- the DeletedAutomationAccountProperties object itself.
-
location
Get the location property: Gets or sets the location of the resource.- Returns:
- the location value.
-
withLocation
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
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
- Specified by:
toJson
in interfacecom.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.
-