OpenShiftRouterProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.OpenShiftRouterProfile

Implements

public final class OpenShiftRouterProfile
implements JsonSerializable<OpenShiftRouterProfile>

Represents an OpenShift router.

Constructor Summary

Constructor Description
OpenShiftRouterProfile()

Creates an instance of OpenShiftRouterProfile class.

Method Summary

Modifier and Type Method and Description
String fqdn()

Get the fqdn property: Auto-allocated FQDN for the OpenShift router.

static OpenShiftRouterProfile fromJson(JsonReader jsonReader)

Reads an instance of OpenShiftRouterProfile from the JsonReader.

String name()

Get the name property: Name of the router profile.

String publicSubdomain()

Get the publicSubdomain property: DNS subdomain for OpenShift router.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OpenShiftRouterProfile withName(String name)

Set the name property: Name of the router profile.

Methods inherited from java.lang.Object

Constructor Details

OpenShiftRouterProfile

public OpenShiftRouterProfile()

Creates an instance of OpenShiftRouterProfile class.

Method Details

fqdn

public String fqdn()

Get the fqdn property: Auto-allocated FQDN for the OpenShift router.

Returns:

the fqdn value.

fromJson

public static OpenShiftRouterProfile fromJson(JsonReader jsonReader)

Reads an instance of OpenShiftRouterProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the router profile.

Returns:

the name value.

publicSubdomain

public String publicSubdomain()

Get the publicSubdomain property: DNS subdomain for OpenShift router.

Returns:

the publicSubdomain value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public OpenShiftRouterProfile withName(String name)

Set the name property: Name of the router profile.

Parameters:

name - the name value to set.

Returns:

the OpenShiftRouterProfile object itself.

Applies to