IntentContent Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. IntentContent
- com.
Implements
public final class IntentContent
implements JsonSerializable<IntentContent>
Intent information.
Constructor Summary
Constructor | Description |
---|---|
IntentContent() |
Creates an instance of Intent |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description property. |
String |
destinationResourceId()
Get the destination |
static
Intent |
fromJson(JsonReader jsonReader)
Reads an instance of Intent |
Ip |
ipTraffic()
Get the ip |
String |
sourceResourceId()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Intent |
withDescription(String description)
Set the description property: The description property. |
Intent |
withDestinationResourceId(String destinationResourceId)
Set the destination |
Intent |
withIpTraffic(IpTraffic ipTraffic)
Set the ip |
Intent |
withSourceResourceId(String sourceResourceId)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
IntentContent
public IntentContent()
Creates an instance of IntentContent class.
Method Details
description
public String description()
Get the description property: The description property.
Returns:
destinationResourceId
public String destinationResourceId()
Get the destinationResourceId property: Destination resource id of the intent.
Returns:
fromJson
public static IntentContent fromJson(JsonReader jsonReader)
Reads an instance of IntentContent from the JsonReader.
Parameters:
Returns:
Throws:
ipTraffic
public IpTraffic ipTraffic()
Get the ipTraffic property: IP traffic information.
Returns:
sourceResourceId
public String sourceResourceId()
Get the sourceResourceId property: Source resource id of the intent.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public IntentContent withDescription(String description)
Set the description property: The description property.
Parameters:
Returns:
withDestinationResourceId
public IntentContent withDestinationResourceId(String destinationResourceId)
Set the destinationResourceId property: Destination resource id of the intent.
Parameters:
Returns:
withIpTraffic
public IntentContent withIpTraffic(IpTraffic ipTraffic)
Set the ipTraffic property: IP traffic information.
Parameters:
Returns:
withSourceResourceId
public IntentContent withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: Source resource id of the intent.
Parameters:
Returns:
Applies to
Azure SDK for Java