Share via


TrafficControllerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.servicenetworking.models.TrafficControllerProperties

Implements

public final class TrafficControllerProperties
implements JsonSerializable<TrafficControllerProperties>

Traffic Controller Properties.

Constructor Summary

Constructor Description
TrafficControllerProperties()

Creates an instance of TrafficControllerProperties class.

Method Summary

Modifier and Type Method and Description
List<ResourceId> associations()

Get the associations property: Associations References List.

List<String> configurationEndpoints()

Get the configurationEndpoints property: Configuration Endpoints.

static TrafficControllerProperties fromJson(JsonReader jsonReader)

Reads an instance of TrafficControllerProperties from the JsonReader.

List<ResourceId> frontends()

Get the frontends property: Frontends References List.

ProvisioningState provisioningState()

Get the provisioningState property: The status of the last operation.

List<ResourceId> securityPolicies()

Get the securityPolicies property: Security Policies References List.

SecurityPolicyConfigurations securityPolicyConfigurations()

Get the securityPolicyConfigurations property: Security Policy Configuration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TrafficControllerProperties withSecurityPolicyConfigurations(SecurityPolicyConfigurations securityPolicyConfigurations)

Set the securityPolicyConfigurations property: Security Policy Configuration.

Methods inherited from java.lang.Object

Constructor Details

TrafficControllerProperties

public TrafficControllerProperties()

Creates an instance of TrafficControllerProperties class.

Method Details

associations

public List<ResourceId> associations()

Get the associations property: Associations References List.

Returns:

the associations value.

configurationEndpoints

public List<String> configurationEndpoints()

Get the configurationEndpoints property: Configuration Endpoints.

Returns:

the configurationEndpoints value.

fromJson

public static TrafficControllerProperties fromJson(JsonReader jsonReader)

Reads an instance of TrafficControllerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TrafficControllerProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TrafficControllerProperties.

frontends

public List<ResourceId> frontends()

Get the frontends property: Frontends References List.

Returns:

the frontends value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The status of the last operation.

Returns:

the provisioningState value.

securityPolicies

public List<ResourceId> securityPolicies()

Get the securityPolicies property: Security Policies References List.

Returns:

the securityPolicies value.

securityPolicyConfigurations

public SecurityPolicyConfigurations securityPolicyConfigurations()

Get the securityPolicyConfigurations property: Security Policy Configuration.

Returns:

the securityPolicyConfigurations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSecurityPolicyConfigurations

public TrafficControllerProperties withSecurityPolicyConfigurations(SecurityPolicyConfigurations securityPolicyConfigurations)

Set the securityPolicyConfigurations property: Security Policy Configuration.

Parameters:

securityPolicyConfigurations - the securityPolicyConfigurations value to set.

Returns:

the TrafficControllerProperties object itself.

Applies to