Class SoftwareUpdateConfigurationCollectionItem
java.lang.Object
com.azure.resourcemanager.automation.models.SoftwareUpdateConfigurationCollectionItem
Software update configuration collection item properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: Creation time of the software update configuration, which only appears in the response.Get the frequency property: execution frequency of the schedule associated with the software update configuration.id()
Get the id property: Resource Id of the software update configuration.Get the lastModifiedTime property: Last time software update configuration was modified, which only appears in the response.name()
Get the name property: Name of the software update configuration.nextRun()
Get the nextRun property: ext run time of the update.Get the provisioningState property: Provisioning state for the software update configuration, which only appears in the response.Get the startTime property: the start time of the update.tasks()
Get the tasks property: Pre and Post Tasks defined.Get the updateConfiguration property: Update specific properties of the software update configuration.void
validate()
Validates the instance.withFrequency
(ScheduleFrequency frequency) Set the frequency property: execution frequency of the schedule associated with the software update configuration.withNextRun
(OffsetDateTime nextRun) Set the nextRun property: ext run time of the update.withStartTime
(OffsetDateTime startTime) Set the startTime property: the start time of the update.Set the tasks property: Pre and Post Tasks defined.withUpdateConfiguration
(UpdateConfiguration updateConfiguration) Set the updateConfiguration property: Update specific properties of the software update configuration.
-
Constructor Details
-
SoftwareUpdateConfigurationCollectionItem
public SoftwareUpdateConfigurationCollectionItem()
-
-
Method Details
-
name
Get the name property: Name of the software update configuration.- Returns:
- the name value.
-
id
Get the id property: Resource Id of the software update configuration.- Returns:
- the id value.
-
updateConfiguration
Get the updateConfiguration property: Update specific properties of the software update configuration.- Returns:
- the updateConfiguration value.
-
withUpdateConfiguration
public SoftwareUpdateConfigurationCollectionItem withUpdateConfiguration(UpdateConfiguration updateConfiguration) Set the updateConfiguration property: Update specific properties of the software update configuration.- Parameters:
updateConfiguration
- the updateConfiguration value to set.- Returns:
- the SoftwareUpdateConfigurationCollectionItem object itself.
-
tasks
Get the tasks property: Pre and Post Tasks defined.- Returns:
- the tasks value.
-
withTasks
Set the tasks property: Pre and Post Tasks defined.- Parameters:
tasks
- the tasks value to set.- Returns:
- the SoftwareUpdateConfigurationCollectionItem object itself.
-
frequency
Get the frequency property: execution frequency of the schedule associated with the software update configuration.- Returns:
- the frequency value.
-
withFrequency
Set the frequency property: execution frequency of the schedule associated with the software update configuration.- Parameters:
frequency
- the frequency value to set.- Returns:
- the SoftwareUpdateConfigurationCollectionItem object itself.
-
startTime
Get the startTime property: the start time of the update.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: the start time of the update.- Parameters:
startTime
- the startTime value to set.- Returns:
- the SoftwareUpdateConfigurationCollectionItem object itself.
-
creationTime
Get the creationTime property: Creation time of the software update configuration, which only appears in the response.- Returns:
- the creationTime value.
-
lastModifiedTime
Get the lastModifiedTime property: Last time software update configuration was modified, which only appears in the response.- Returns:
- the lastModifiedTime value.
-
provisioningState
Get the provisioningState property: Provisioning state for the software update configuration, which only appears in the response.- Returns:
- the provisioningState value.
-
nextRun
Get the nextRun property: ext run time of the update.- Returns:
- the nextRun value.
-
withNextRun
Set the nextRun property: ext run time of the update.- Parameters:
nextRun
- the nextRun value to set.- Returns:
- the SoftwareUpdateConfigurationCollectionItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-