AccessKeysInner Class

  • java.lang.Object
    • com.azure.resourcemanager.purview.fluent.models.AccessKeysInner

Implements

public final class AccessKeysInner
implements JsonSerializable<AccessKeysInner>

The Account access keys.

Constructor Summary

Constructor Description
AccessKeysInner()

Creates an instance of AccessKeysInner class.

Method Summary

Modifier and Type Method and Description
String atlasKafkaPrimaryEndpoint()

Get the atlasKafkaPrimaryEndpoint property: Gets or sets the primary connection string.

String atlasKafkaSecondaryEndpoint()

Get the atlasKafkaSecondaryEndpoint property: Gets or sets the secondary connection string.

static AccessKeysInner fromJson(JsonReader jsonReader)

Reads an instance of AccessKeysInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AccessKeysInner withAtlasKafkaPrimaryEndpoint(String atlasKafkaPrimaryEndpoint)

Set the atlasKafkaPrimaryEndpoint property: Gets or sets the primary connection string.

AccessKeysInner withAtlasKafkaSecondaryEndpoint(String atlasKafkaSecondaryEndpoint)

Set the atlasKafkaSecondaryEndpoint property: Gets or sets the secondary connection string.

Methods inherited from java.lang.Object

Constructor Details

AccessKeysInner

public AccessKeysInner()

Creates an instance of AccessKeysInner class.

Method Details

atlasKafkaPrimaryEndpoint

public String atlasKafkaPrimaryEndpoint()

Get the atlasKafkaPrimaryEndpoint property: Gets or sets the primary connection string.

Returns:

the atlasKafkaPrimaryEndpoint value.

atlasKafkaSecondaryEndpoint

public String atlasKafkaSecondaryEndpoint()

Get the atlasKafkaSecondaryEndpoint property: Gets or sets the secondary connection string.

Returns:

the atlasKafkaSecondaryEndpoint value.

fromJson

public static AccessKeysInner fromJson(JsonReader jsonReader)

Reads an instance of AccessKeysInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAtlasKafkaPrimaryEndpoint

public AccessKeysInner withAtlasKafkaPrimaryEndpoint(String atlasKafkaPrimaryEndpoint)

Set the atlasKafkaPrimaryEndpoint property: Gets or sets the primary connection string.

Parameters:

atlasKafkaPrimaryEndpoint - the atlasKafkaPrimaryEndpoint value to set.

Returns:

the AccessKeysInner object itself.

withAtlasKafkaSecondaryEndpoint

public AccessKeysInner withAtlasKafkaSecondaryEndpoint(String atlasKafkaSecondaryEndpoint)

Set the atlasKafkaSecondaryEndpoint property: Gets or sets the secondary connection string.

Parameters:

atlasKafkaSecondaryEndpoint - the atlasKafkaSecondaryEndpoint value to set.

Returns:

the AccessKeysInner object itself.

Applies to