HttpRouteConfigProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appcontainers.models.HttpRouteConfigProperties

Implements

public final class HttpRouteConfigProperties
implements JsonSerializable<HttpRouteConfigProperties>

Http Route Config properties.

Constructor Summary

Constructor Description
HttpRouteConfigProperties()

Creates an instance of HttpRouteConfigProperties class.

Method Summary

Modifier and Type Method and Description
List<CustomDomain> customDomains()

Get the customDomains property: Custom domain bindings for http Routes' hostnames.

String fqdn()

Get the fqdn property: FQDN of the route resource.

static HttpRouteConfigProperties fromJson(JsonReader jsonReader)

Reads an instance of HttpRouteConfigProperties from the JsonReader.

List<HttpRouteProvisioningErrors> provisioningErrors()

Get the provisioningErrors property: List of errors when trying to reconcile http routes.

HttpRouteProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the Http Route Config in cluster.

List<HttpRouteRule> rules()

Get the rules property: Routing Rules for http route resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HttpRouteConfigProperties withCustomDomains(List<CustomDomain> customDomains)

Set the customDomains property: Custom domain bindings for http Routes' hostnames.

HttpRouteConfigProperties withRules(List<HttpRouteRule> rules)

Set the rules property: Routing Rules for http route resource.

Methods inherited from java.lang.Object

Constructor Details

HttpRouteConfigProperties

public HttpRouteConfigProperties()

Creates an instance of HttpRouteConfigProperties class.

Method Details

customDomains

public List<CustomDomain> customDomains()

Get the customDomains property: Custom domain bindings for http Routes' hostnames.

Returns:

the customDomains value.

fqdn

public String fqdn()

Get the fqdn property: FQDN of the route resource.

Returns:

the fqdn value.

fromJson

public static HttpRouteConfigProperties fromJson(JsonReader jsonReader)

Reads an instance of HttpRouteConfigProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of HttpRouteConfigProperties 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 HttpRouteConfigProperties.

provisioningErrors

public List<HttpRouteProvisioningErrors> provisioningErrors()

Get the provisioningErrors property: List of errors when trying to reconcile http routes.

Returns:

the provisioningErrors value.

provisioningState

public HttpRouteProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the Http Route Config in cluster.

Returns:

the provisioningState value.

rules

public List<HttpRouteRule> rules()

Get the rules property: Routing Rules for http route resource.

Returns:

the rules value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCustomDomains

public HttpRouteConfigProperties withCustomDomains(List<CustomDomain> customDomains)

Set the customDomains property: Custom domain bindings for http Routes' hostnames.

Parameters:

customDomains - the customDomains value to set.

Returns:

the HttpRouteConfigProperties object itself.

withRules

public HttpRouteConfigProperties withRules(List<HttpRouteRule> rules)

Set the rules property: Routing Rules for http route resource.

Parameters:

rules - the rules value to set.

Returns:

the HttpRouteConfigProperties object itself.

Applies to