RequiredTraffic Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. RequiredTraffic
- com.
Implements
public final class RequiredTraffic
implements JsonSerializable<RequiredTraffic>
Required inbound or outbound traffic for Azure Spring Apps resource.
Constructor Summary
Constructor | Description |
---|---|
RequiredTraffic() |
Creates an instance of Required |
Method Summary
Modifier and Type | Method and Description |
---|---|
Traffic |
direction()
Get the direction property: The direction of required traffic. |
List<String> |
fqdns()
Get the fqdns property: The FQDN list of required traffic. |
static
Required |
fromJson(JsonReader jsonReader)
Reads an instance of Required |
List<String> |
ips()
Get the ips property: The ip list of required traffic. |
Integer |
port()
Get the port property: The port of required traffic. |
String |
protocol()
Get the protocol property: The protocol of required traffic. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
RequiredTraffic
public RequiredTraffic()
Creates an instance of RequiredTraffic class.
Method Details
direction
public TrafficDirection direction()
Get the direction property: The direction of required traffic.
Returns:
fqdns
public List
Get the fqdns property: The FQDN list of required traffic.
Returns:
fromJson
public static RequiredTraffic fromJson(JsonReader jsonReader)
Reads an instance of RequiredTraffic from the JsonReader.
Parameters:
Returns:
Throws:
ips
public List
Get the ips property: The ip list of required traffic.
Returns:
port
public Integer port()
Get the port property: The port of required traffic.
Returns:
protocol
public String protocol()
Get the protocol property: The protocol of required traffic.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java