IntentContent Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.IntentContent

Implements

public final class IntentContent
implements JsonSerializable<IntentContent>

Intent information.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description property.

String destinationResourceId()

Get the destinationResourceId property: Destination resource id of the intent.

static IntentContent fromJson(JsonReader jsonReader)

Reads an instance of IntentContent from the JsonReader.

IpTraffic ipTraffic()

Get the ipTraffic property: IP traffic information.

String sourceResourceId()

Get the sourceResourceId property: Source resource id of the intent.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

description

public String description()

Get the description property: The description property.

Returns:

the description value.

destinationResourceId

public String destinationResourceId()

Get the destinationResourceId property: Destination resource id of the intent.

Returns:

the destinationResourceId value.

fromJson

public static IntentContent fromJson(JsonReader jsonReader)

Reads an instance of IntentContent from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipTraffic

public IpTraffic ipTraffic()

Get the ipTraffic property: IP traffic information.

Returns:

the ipTraffic value.

sourceResourceId

public String sourceResourceId()

Get the sourceResourceId property: Source resource id of the intent.

Returns:

the sourceResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to