NetworkManagerCommitInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.NetworkManagerCommitInner

Implements

public final class NetworkManagerCommitInner
implements JsonSerializable<NetworkManagerCommitInner>

Network Manager Commit.

Constructor Summary

Constructor Description
NetworkManagerCommitInner()

Creates an instance of NetworkManagerCommitInner class.

Method Summary

Modifier and Type Method and Description
String commitId()

Get the commitId property: Commit Id.

ConfigurationType commitType()

Get the commitType property: Commit Type.

List<String> configurationIds()

Get the configurationIds property: List of configuration ids.

static NetworkManagerCommitInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerCommitInner from the JsonReader.

List<String> targetLocations()

Get the targetLocations property: List of target locations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkManagerCommitInner withCommitType(ConfigurationType commitType)

Set the commitType property: Commit Type.

NetworkManagerCommitInner withConfigurationIds(List<String> configurationIds)

Set the configurationIds property: List of configuration ids.

NetworkManagerCommitInner withTargetLocations(List<String> targetLocations)

Set the targetLocations property: List of target locations.

Methods inherited from java.lang.Object

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.

commitType

public ConfigurationType commitType()

Get the commitType property: Commit Type.

Returns:

the commitType value.

configurationIds

public List configurationIds()

Get the configurationIds property: List of configuration ids.

Returns:

the configurationIds value.

fromJson

public static NetworkManagerCommitInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

targetLocations

public List targetLocations()

Get the targetLocations property: List of target locations.

Returns:

the targetLocations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCommitType

public NetworkManagerCommitInner withCommitType(ConfigurationType commitType)

Set the commitType property: Commit Type.

Parameters:

commitType - the commitType value to set.

Returns:

the NetworkManagerCommitInner object itself.

withConfigurationIds

public NetworkManagerCommitInner withConfigurationIds(List configurationIds)

Set the configurationIds property: List of configuration ids.

Parameters:

configurationIds - the configurationIds value to set.

Returns:

the NetworkManagerCommitInner object itself.

withTargetLocations

public NetworkManagerCommitInner withTargetLocations(List targetLocations)

Set the targetLocations property: List of target locations.

Parameters:

targetLocations - the targetLocations value to set.

Returns:

the NetworkManagerCommitInner object itself.

Applies to