EgressEndpoint Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.EgressEndpoint

Implements

public final class EgressEndpoint
implements JsonSerializable<EgressEndpoint>

EgressEndpoint represents the connection from a cloud services network to the specified endpoint for a common purpose.

Constructor Summary

Constructor Description
EgressEndpoint()

Creates an instance of EgressEndpoint class.

Method Summary

Modifier and Type Method and Description
String category()

Get the category property: The descriptive category name of endpoints accessible by the AKS agent node.

List<EndpointDependency> endpoints()

Get the endpoints property: The list of endpoint dependencies.

static EgressEndpoint fromJson(JsonReader jsonReader)

Reads an instance of EgressEndpoint from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EgressEndpoint withCategory(String category)

Set the category property: The descriptive category name of endpoints accessible by the AKS agent node.

EgressEndpoint withEndpoints(List<EndpointDependency> endpoints)

Set the endpoints property: The list of endpoint dependencies.

Methods inherited from java.lang.Object

Constructor Details

EgressEndpoint

public EgressEndpoint()

Creates an instance of EgressEndpoint class.

Method Details

category

public String category()

Get the category property: The descriptive category name of endpoints accessible by the AKS agent node. For example, azure-resource-management, API server, etc. The platform egress endpoints provided by default will use the category 'default'.

Returns:

the category value.

endpoints

public List<EndpointDependency> endpoints()

Get the endpoints property: The list of endpoint dependencies.

Returns:

the endpoints value.

fromJson

public static EgressEndpoint fromJson(JsonReader jsonReader)

Reads an instance of EgressEndpoint from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCategory

public EgressEndpoint withCategory(String category)

Set the category property: The descriptive category name of endpoints accessible by the AKS agent node. For example, azure-resource-management, API server, etc. The platform egress endpoints provided by default will use the category 'default'.

Parameters:

category - the category value to set.

Returns:

the EgressEndpoint object itself.

withEndpoints

public EgressEndpoint withEndpoints(List<EndpointDependency> endpoints)

Set the endpoints property: The list of endpoint dependencies.

Parameters:

endpoints - the endpoints value to set.

Returns:

the EgressEndpoint object itself.

Applies to