RoutingIntentProperties Class

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

Implements

public final class RoutingIntentProperties
implements JsonSerializable<RoutingIntentProperties>

The properties of a RoutingIntent resource.

Constructor Summary

Constructor Description
RoutingIntentProperties()

Creates an instance of RoutingIntentProperties class.

Method Summary

Modifier and Type Method and Description
static RoutingIntentProperties fromJson(JsonReader jsonReader)

Reads an instance of RoutingIntentProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the RoutingIntent resource.

List<RoutingPolicy> routingPolicies()

Get the routingPolicies property: List of routing policies.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RoutingIntentProperties withRoutingPolicies(List<RoutingPolicy> routingPolicies)

Set the routingPolicies property: List of routing policies.

Methods inherited from java.lang.Object

Constructor Details

RoutingIntentProperties

public RoutingIntentProperties()

Creates an instance of RoutingIntentProperties class.

Method Details

fromJson

public static RoutingIntentProperties fromJson(JsonReader jsonReader)

Reads an instance of RoutingIntentProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RoutingIntentProperties 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 RoutingIntentProperties.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the RoutingIntent resource.

Returns:

the provisioningState value.

routingPolicies

public List<RoutingPolicy> routingPolicies()

Get the routingPolicies property: List of routing policies.

Returns:

the routingPolicies value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRoutingPolicies

public RoutingIntentProperties withRoutingPolicies(List<RoutingPolicy> routingPolicies)

Set the routingPolicies property: List of routing policies.

Parameters:

routingPolicies - the routingPolicies value to set.

Returns:

the RoutingIntentProperties object itself.

Applies to