BastionSessionRecordingConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.BastionSessionRecordingConfiguration

Implements

public final class BastionSessionRecordingConfiguration
implements JsonSerializable<BastionSessionRecordingConfiguration>

Bastion Session Recording Configuration.

Constructor Summary

Constructor Description
BastionSessionRecordingConfiguration()

Creates an instance of BastionSessionRecordingConfiguration class.

Method Summary

Modifier and Type Method and Description
String blobContainerUri()

Get the blobContainerUri property: The blob container to store the recordings.

static BastionSessionRecordingConfiguration fromJson(JsonReader jsonReader)

Reads an instance of BastionSessionRecordingConfiguration from the JsonReader.

SessionRecordingIdentity identity()

Get the identity property: The identity to use for accessing the blob container where recordings will be stored.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BastionSessionRecordingConfiguration withBlobContainerUri(String blobContainerUri)

Set the blobContainerUri property: The blob container to store the recordings.

BastionSessionRecordingConfiguration withIdentity(SessionRecordingIdentity identity)

Set the identity property: The identity to use for accessing the blob container where recordings will be stored.

Methods inherited from java.lang.Object

Constructor Details

BastionSessionRecordingConfiguration

public BastionSessionRecordingConfiguration()

Creates an instance of BastionSessionRecordingConfiguration class.

Method Details

blobContainerUri

public String blobContainerUri()

Get the blobContainerUri property: The blob container to store the recordings. Ex: https://contosostorage.blob.core.windows.net/contosorecordings.

Returns:

the blobContainerUri value.

fromJson

public static BastionSessionRecordingConfiguration fromJson(JsonReader jsonReader)

Reads an instance of BastionSessionRecordingConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

identity

public SessionRecordingIdentity identity()

Get the identity property: The identity to use for accessing the blob container where recordings will be stored.

Returns:

the identity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBlobContainerUri

public BastionSessionRecordingConfiguration withBlobContainerUri(String blobContainerUri)

Set the blobContainerUri property: The blob container to store the recordings. Ex: https://contosostorage.blob.core.windows.net/contosorecordings.

Parameters:

blobContainerUri - the blobContainerUri value to set.

Returns:

the BastionSessionRecordingConfiguration object itself.

withIdentity

public BastionSessionRecordingConfiguration withIdentity(SessionRecordingIdentity identity)

Set the identity property: The identity to use for accessing the blob container where recordings will be stored.

Parameters:

identity - the identity value to set.

Returns:

the BastionSessionRecordingConfiguration object itself.

Applies to