EndpointDependency Class

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

Implements

public final class EndpointDependency
implements JsonSerializable<EndpointDependency>

A domain name that AKS agent nodes are reaching at.

Constructor Summary

Constructor Description
EndpointDependency()

Creates an instance of EndpointDependency class.

Method Summary

Modifier and Type Method and Description
String domainName()

Get the domainName property: The domain name of the dependency.

List<EndpointDetail> endpointDetails()

Get the endpointDetails property: The Ports and Protocols used when connecting to domainName.

static EndpointDependency fromJson(JsonReader jsonReader)

Reads an instance of EndpointDependency from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EndpointDependency withDomainName(String domainName)

Set the domainName property: The domain name of the dependency.

EndpointDependency withEndpointDetails(List<EndpointDetail> endpointDetails)

Set the endpointDetails property: The Ports and Protocols used when connecting to domainName.

Methods inherited from java.lang.Object

Constructor Details

EndpointDependency

public EndpointDependency()

Creates an instance of EndpointDependency class.

Method Details

domainName

public String domainName()

Get the domainName property: The domain name of the dependency.

Returns:

the domainName value.

endpointDetails

public List endpointDetails()

Get the endpointDetails property: The Ports and Protocols used when connecting to domainName.

Returns:

the endpointDetails value.

fromJson

public static EndpointDependency fromJson(JsonReader jsonReader)

Reads an instance of EndpointDependency from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDomainName

public EndpointDependency withDomainName(String domainName)

Set the domainName property: The domain name of the dependency.

Parameters:

domainName - the domainName value to set.

Returns:

the EndpointDependency object itself.

withEndpointDetails

public EndpointDependency withEndpointDetails(List endpointDetails)

Set the endpointDetails property: The Ports and Protocols used when connecting to domainName.

Parameters:

endpointDetails - the endpointDetails value to set.

Returns:

the EndpointDependency object itself.

Applies to