Class RequiredTraffic
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.RequiredTraffic
-
public final class RequiredTraffic extends Object
Required inbound or outbound traffic for Azure Spring Cloud instance.
-
-
Constructor Summary
Constructors Constructor Description RequiredTraffic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrafficDirectiondirection()Get the direction property: The direction of required traffic.List<String>fqdns()Get the fqdns property: The FQDN list of required traffic.List<String>ips()Get the ips property: The ip list of required traffic.Integerport()Get the port property: The port of required traffic.Stringprotocol()Get the protocol property: The protocol of required traffic.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
protocol
public String protocol()
Get the protocol property: The protocol of required traffic.- Returns:
- the protocol value.
-
port
public Integer port()
Get the port property: The port of required traffic.- Returns:
- the port value.
-
ips
public List<String> ips()
Get the ips property: The ip list of required traffic.- Returns:
- the ips value.
-
fqdns
public List<String> fqdns()
Get the fqdns property: The FQDN list of required traffic.- Returns:
- the fqdns value.
-
direction
public TrafficDirection direction()
Get the direction property: The direction of required traffic.- Returns:
- the direction value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-