DataCollectionEndpointNetworkAcls Class

public final class DataCollectionEndpointNetworkAcls
extends NetworkRuleSet

Network access control rules for the endpoints.

Constructor Summary

Constructor Description
DataCollectionEndpointNetworkAcls()

Creates an instance of DataCollectionEndpointNetworkAcls class.

Method Summary

Modifier and Type Method and Description
static DataCollectionEndpointNetworkAcls fromJson(JsonReader jsonReader)

Reads an instance of DataCollectionEndpointNetworkAcls from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataCollectionEndpointNetworkAcls withPublicNetworkAccess(KnownPublicNetworkAccessOptions publicNetworkAccess)

Set the publicNetworkAccess property: The configuration to set whether network access from public internet to the endpoints are allowed.

Methods inherited from NetworkRuleSet

Methods inherited from java.lang.Object

Constructor Details

DataCollectionEndpointNetworkAcls

public DataCollectionEndpointNetworkAcls()

Creates an instance of DataCollectionEndpointNetworkAcls class.

Method Details

fromJson

public static DataCollectionEndpointNetworkAcls fromJson(JsonReader jsonReader)

Reads an instance of DataCollectionEndpointNetworkAcls from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataCollectionEndpointNetworkAcls.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DataCollectionEndpointNetworkAcls.validate()

withPublicNetworkAccess

public DataCollectionEndpointNetworkAcls withPublicNetworkAccess(KnownPublicNetworkAccessOptions publicNetworkAccess)

Set the publicNetworkAccess property: The configuration to set whether network access from public internet to the endpoints are allowed.

Overrides:

DataCollectionEndpointNetworkAcls.withPublicNetworkAccess(KnownPublicNetworkAccessOptions publicNetworkAccess)

Parameters:

publicNetworkAccess

Applies to