Class RunbookPropertiesInner
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.RunbookPropertiesInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RunbookPropertiesInner>
public final class RunbookPropertiesInner
extends Object
implements com.azure.json.JsonSerializable<RunbookPropertiesInner>
Definition of the runbook property type.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RunbookPropertiesInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: Gets or sets the creation time.Get the description property: Gets or sets the description.draft()
Get the draft property: Gets or sets the draft runbook properties.static RunbookPropertiesInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RunbookPropertiesInner from the JsonReader.jobCount()
Get the jobCount property: Gets or sets the job count of the runbook.Get the lastModifiedBy property: Gets or sets the last modified by.Get the lastModifiedTime property: Gets or sets the last modified time.Get the logActivityTrace property: Gets or sets the option to log activity trace of the runbook.Get the logProgress property: Gets or sets progress log option.Get the logVerbose property: Gets or sets verbose log option.Get the outputTypes property: Gets or sets the runbook output types.Get the parameters property: Gets or sets the runbook parameters.Get the provisioningState property: Gets or sets the provisioning state of the runbook.Get the publishContentLink property: Gets or sets the published runbook content link.Get the runbookType property: Gets or sets the type of the runbook.state()
Get the state property: Gets or sets the state of the runbook.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withCreationTime
(OffsetDateTime creationTime) Set the creationTime property: Gets or sets the creation time.withDescription
(String description) Set the description property: Gets or sets the description.withDraft
(RunbookDraftInner draft) Set the draft property: Gets or sets the draft runbook properties.withJobCount
(Integer jobCount) Set the jobCount property: Gets or sets the job count of the runbook.withLastModifiedBy
(String lastModifiedBy) Set the lastModifiedBy property: Gets or sets the last modified by.withLastModifiedTime
(OffsetDateTime lastModifiedTime) Set the lastModifiedTime property: Gets or sets the last modified time.withLogActivityTrace
(Integer logActivityTrace) Set the logActivityTrace property: Gets or sets the option to log activity trace of the runbook.withLogProgress
(Boolean logProgress) Set the logProgress property: Gets or sets progress log option.withLogVerbose
(Boolean logVerbose) Set the logVerbose property: Gets or sets verbose log option.withOutputTypes
(List<String> outputTypes) Set the outputTypes property: Gets or sets the runbook output types.withParameters
(Map<String, RunbookParameter> parameters) Set the parameters property: Gets or sets the runbook parameters.withProvisioningState
(RunbookProvisioningState provisioningState) Set the provisioningState property: Gets or sets the provisioning state of the runbook.withPublishContentLink
(ContentLink publishContentLink) Set the publishContentLink property: Gets or sets the published runbook content link.withRunbookType
(RunbookTypeEnum runbookType) Set the runbookType property: Gets or sets the type of the runbook.withState
(RunbookState state) Set the state property: Gets or sets the state of the runbook.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
-
RunbookPropertiesInner
public RunbookPropertiesInner()Creates an instance of RunbookPropertiesInner class.
-
-
Method Details
-
runbookType
Get the runbookType property: Gets or sets the type of the runbook.- Returns:
- the runbookType value.
-
withRunbookType
Set the runbookType property: Gets or sets the type of the runbook.- Parameters:
runbookType
- the runbookType value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
publishContentLink
Get the publishContentLink property: Gets or sets the published runbook content link.- Returns:
- the publishContentLink value.
-
withPublishContentLink
Set the publishContentLink property: Gets or sets the published runbook content link.- Parameters:
publishContentLink
- the publishContentLink value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
state
Get the state property: Gets or sets the state of the runbook.- Returns:
- the state value.
-
withState
Set the state property: Gets or sets the state of the runbook.- Parameters:
state
- the state value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
logVerbose
Get the logVerbose property: Gets or sets verbose log option.- Returns:
- the logVerbose value.
-
withLogVerbose
Set the logVerbose property: Gets or sets verbose log option.- Parameters:
logVerbose
- the logVerbose value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
logProgress
Get the logProgress property: Gets or sets progress log option.- Returns:
- the logProgress value.
-
withLogProgress
Set the logProgress property: Gets or sets progress log option.- Parameters:
logProgress
- the logProgress value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
logActivityTrace
Get the logActivityTrace property: Gets or sets the option to log activity trace of the runbook.- Returns:
- the logActivityTrace value.
-
withLogActivityTrace
Set the logActivityTrace property: Gets or sets the option to log activity trace of the runbook.- Parameters:
logActivityTrace
- the logActivityTrace value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
jobCount
Get the jobCount property: Gets or sets the job count of the runbook.- Returns:
- the jobCount value.
-
withJobCount
Set the jobCount property: Gets or sets the job count of the runbook.- Parameters:
jobCount
- the jobCount value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
parameters
Get the parameters property: Gets or sets the runbook parameters.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Gets or sets the runbook parameters.- Parameters:
parameters
- the parameters value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
outputTypes
Get the outputTypes property: Gets or sets the runbook output types.- Returns:
- the outputTypes value.
-
withOutputTypes
Set the outputTypes property: Gets or sets the runbook output types.- Parameters:
outputTypes
- the outputTypes value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
draft
Get the draft property: Gets or sets the draft runbook properties.- Returns:
- the draft value.
-
withDraft
Set the draft property: Gets or sets the draft runbook properties.- Parameters:
draft
- the draft value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
provisioningState
Get the provisioningState property: Gets or sets the provisioning state of the runbook.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Gets or sets the provisioning state of the runbook.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
lastModifiedBy
Get the lastModifiedBy property: Gets or sets the last modified by.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
Set the lastModifiedBy property: Gets or sets the last modified by.- Parameters:
lastModifiedBy
- the lastModifiedBy value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
creationTime
Get the creationTime property: Gets or sets the creation time.- Returns:
- the creationTime value.
-
withCreationTime
Set the creationTime property: Gets or sets the creation time.- Parameters:
creationTime
- the creationTime value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
lastModifiedTime
Get the lastModifiedTime property: Gets or sets the last modified time.- Returns:
- the lastModifiedTime value.
-
withLastModifiedTime
Set the lastModifiedTime property: Gets or sets the last modified time.- Parameters:
lastModifiedTime
- the lastModifiedTime value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
description
Get the description property: Gets or sets the description.- Returns:
- the description value.
-
withDescription
Set the description property: Gets or sets the description.- Parameters:
description
- the description value to set.- Returns:
- the RunbookPropertiesInner object itself.
-
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<RunbookPropertiesInner>
- Throws:
IOException
-
fromJson
public static RunbookPropertiesInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RunbookPropertiesInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of RunbookPropertiesInner 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 RunbookPropertiesInner.
-