Class NetworkManagerCommitInner

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

public final class NetworkManagerCommitInner extends Object implements com.azure.json.JsonSerializable<NetworkManagerCommitInner>
Network Manager Commit.
  • Constructor Details

    • NetworkManagerCommitInner

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

    • commitId

      public String commitId()
      Get the commitId property: Commit Id.
      Returns:
      the commitId value.
    • targetLocations

      public List<String> targetLocations()
      Get the targetLocations property: List of target locations.
      Returns:
      the targetLocations value.
    • withTargetLocations

      public NetworkManagerCommitInner withTargetLocations(List<String> targetLocations)
      Set the targetLocations property: List of target locations.
      Parameters:
      targetLocations - the targetLocations value to set.
      Returns:
      the NetworkManagerCommitInner object itself.
    • configurationIds

      public List<String> configurationIds()
      Get the configurationIds property: List of configuration ids.
      Returns:
      the configurationIds value.
    • withConfigurationIds

      public NetworkManagerCommitInner withConfigurationIds(List<String> configurationIds)
      Set the configurationIds property: List of configuration ids.
      Parameters:
      configurationIds - the configurationIds value to set.
      Returns:
      the NetworkManagerCommitInner object itself.
    • commitType

      public ConfigurationType commitType()
      Get the commitType property: Commit Type.
      Returns:
      the commitType value.
    • withCommitType

      public NetworkManagerCommitInner withCommitType(ConfigurationType commitType)
      Set the commitType property: Commit Type.
      Parameters:
      commitType - the commitType value to set.
      Returns:
      the NetworkManagerCommitInner 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<NetworkManagerCommitInner>
      Throws:
      IOException
    • fromJson

      public static NetworkManagerCommitInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of NetworkManagerCommitInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of NetworkManagerCommitInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the NetworkManagerCommitInner.