Class RunbookDraftInner
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.RunbookDraftInner
The RunbookDraft model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: Gets or sets the creation time of the runbook draft.Get the draftContentLink property: Gets or sets the draft runbook content link.inEdit()
Get the inEdit property: Gets or sets whether runbook is in edit mode.Get the lastModifiedTime property: Gets or sets the last modified time of the runbook draft.Get the outputTypes property: Gets or sets the runbook output types.Get the parameters property: Gets or sets the runbook draft parameters.void
validate()
Validates the instance.withCreationTime
(OffsetDateTime creationTime) Set the creationTime property: Gets or sets the creation time of the runbook draft.withDraftContentLink
(ContentLink draftContentLink) Set the draftContentLink property: Gets or sets the draft runbook content link.withInEdit
(Boolean inEdit) Set the inEdit property: Gets or sets whether runbook is in edit mode.withLastModifiedTime
(OffsetDateTime lastModifiedTime) Set the lastModifiedTime property: Gets or sets the last modified time of the runbook draft.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 draft parameters.
-
Constructor Details
-
RunbookDraftInner
public RunbookDraftInner()
-
-
Method Details
-
inEdit
Get the inEdit property: Gets or sets whether runbook is in edit mode.- Returns:
- the inEdit value.
-
withInEdit
Set the inEdit property: Gets or sets whether runbook is in edit mode.- Parameters:
inEdit
- the inEdit value to set.- Returns:
- the RunbookDraftInner object itself.
-
draftContentLink
Get the draftContentLink property: Gets or sets the draft runbook content link.- Returns:
- the draftContentLink value.
-
withDraftContentLink
Set the draftContentLink property: Gets or sets the draft runbook content link.- Parameters:
draftContentLink
- the draftContentLink value to set.- Returns:
- the RunbookDraftInner object itself.
-
creationTime
Get the creationTime property: Gets or sets the creation time of the runbook draft.- Returns:
- the creationTime value.
-
withCreationTime
Set the creationTime property: Gets or sets the creation time of the runbook draft.- Parameters:
creationTime
- the creationTime value to set.- Returns:
- the RunbookDraftInner object itself.
-
lastModifiedTime
Get the lastModifiedTime property: Gets or sets the last modified time of the runbook draft.- Returns:
- the lastModifiedTime value.
-
withLastModifiedTime
Set the lastModifiedTime property: Gets or sets the last modified time of the runbook draft.- Parameters:
lastModifiedTime
- the lastModifiedTime value to set.- Returns:
- the RunbookDraftInner object itself.
-
parameters
Get the parameters property: Gets or sets the runbook draft parameters.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Gets or sets the runbook draft parameters.- Parameters:
parameters
- the parameters value to set.- Returns:
- the RunbookDraftInner 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 RunbookDraftInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-