DefenderForContainersAwsOfferingKubernetesDataCollection Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.DefenderForContainersAwsOfferingKubernetesDataCollection

Implements

public final class DefenderForContainersAwsOfferingKubernetesDataCollection
implements JsonSerializable<DefenderForContainersAwsOfferingKubernetesDataCollection>

The kubernetes data collection connection configuration.

Constructor Summary

Constructor Description
DefenderForContainersAwsOfferingKubernetesDataCollection()

Creates an instance of DefenderForContainersAwsOfferingKubernetesDataCollection class.

Method Summary

Modifier and Type Method and Description
String cloudRoleArn()

Get the cloudRoleArn property: The cloud role ARN in AWS for this feature used for reading data.

static DefenderForContainersAwsOfferingKubernetesDataCollection fromJson(JsonReader jsonReader)

Reads an instance of DefenderForContainersAwsOfferingKubernetesDataCollection from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DefenderForContainersAwsOfferingKubernetesDataCollection withCloudRoleArn(String cloudRoleArn)

Set the cloudRoleArn property: The cloud role ARN in AWS for this feature used for reading data.

Methods inherited from java.lang.Object

Constructor Details

DefenderForContainersAwsOfferingKubernetesDataCollection

public DefenderForContainersAwsOfferingKubernetesDataCollection()

Creates an instance of DefenderForContainersAwsOfferingKubernetesDataCollection class.

Method Details

cloudRoleArn

public String cloudRoleArn()

Get the cloudRoleArn property: The cloud role ARN in AWS for this feature used for reading data.

Returns:

the cloudRoleArn value.

fromJson

public static DefenderForContainersAwsOfferingKubernetesDataCollection fromJson(JsonReader jsonReader)

Reads an instance of DefenderForContainersAwsOfferingKubernetesDataCollection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCloudRoleArn

public DefenderForContainersAwsOfferingKubernetesDataCollection withCloudRoleArn(String cloudRoleArn)

Set the cloudRoleArn property: The cloud role ARN in AWS for this feature used for reading data.

Parameters:

cloudRoleArn - the cloudRoleArn value to set.

Returns:

the DefenderForContainersAwsOfferingKubernetesDataCollection object itself.

Applies to