RequiredTraffic Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.RequiredTraffic

public final class RequiredTraffic

Required inbound or outbound traffic for Azure Spring Apps resource.

Constructor Summary

Constructor Description
RequiredTraffic()

Creates an instance of RequiredTraffic class.

Method Summary

Modifier and Type Method and Description
TrafficDirection direction()

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.

Integer port()

Get the port property: The port of required traffic.

String protocol()

Get the protocol property: The protocol of required traffic.

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:

the direction value.

fqdns

public List fqdns()

Get the fqdns property: The FQDN list of required traffic.

Returns:

the fqdns value.

ips

public List ips()

Get the ips property: The ip list of required traffic.

Returns:

the ips value.

port

public Integer port()

Get the port property: The port of required traffic.

Returns:

the port value.

protocol

public String protocol()

Get the protocol property: The protocol of required traffic.

Returns:

the protocol value.

validate

public void validate()

Validates the instance.

Applies to