Class SoftwareUpdateConfigurationCollectionItemProperties

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

public final class SoftwareUpdateConfigurationCollectionItemProperties extends Object implements com.azure.json.JsonSerializable<SoftwareUpdateConfigurationCollectionItemProperties>
Software update configuration collection item properties.
  • Constructor Details

    • SoftwareUpdateConfigurationCollectionItemProperties

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

    • updateConfiguration

      public UpdateConfiguration updateConfiguration()
      Get the updateConfiguration property: Update specific properties of the software update configuration.
      Returns:
      the updateConfiguration value.
    • withUpdateConfiguration

      public SoftwareUpdateConfigurationCollectionItemProperties withUpdateConfiguration(UpdateConfiguration updateConfiguration)
      Set the updateConfiguration property: Update specific properties of the software update configuration.
      Parameters:
      updateConfiguration - the updateConfiguration value to set.
      Returns:
      the SoftwareUpdateConfigurationCollectionItemProperties 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 SoftwareUpdateConfigurationCollectionItemProperties object itself.
    • frequency

      public ScheduleFrequency 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 SoftwareUpdateConfigurationCollectionItemProperties object itself.
    • startTime

      public OffsetDateTime 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 SoftwareUpdateConfigurationCollectionItemProperties object itself.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: Creation time of the software update configuration, which only appears in the response.
      Returns:
      the creationTime value.
    • lastModifiedTime

      public OffsetDateTime lastModifiedTime()
      Get the lastModifiedTime property: Last time software update configuration was modified, which only appears in the response.
      Returns:
      the lastModifiedTime value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Provisioning state for the software update configuration, which only appears in the response.
      Returns:
      the provisioningState value.
    • nextRun

      public OffsetDateTime 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 SoftwareUpdateConfigurationCollectionItemProperties object itself.
    • 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<SoftwareUpdateConfigurationCollectionItemProperties>
      Throws:
      IOException
    • fromJson

      public static SoftwareUpdateConfigurationCollectionItemProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SoftwareUpdateConfigurationCollectionItemProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SoftwareUpdateConfigurationCollectionItemProperties 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 SoftwareUpdateConfigurationCollectionItemProperties.