LoadTestProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.loadtesting.fluent.models.LoadTestProperties

Implements

public final class LoadTestProperties
implements JsonSerializable<LoadTestProperties>

LoadTest resource properties.

Constructor Summary

Constructor Description
LoadTestProperties()

Creates an instance of LoadTestProperties class.

Method Summary

Modifier and Type Method and Description
String dataPlaneUri()

Get the dataPlaneUri property: Resource data plane URI.

String description()

Get the description property: Description of the resource.

EncryptionProperties encryption()

Get the encryption property: CMK Encryption property.

static LoadTestProperties fromJson(JsonReader jsonReader)

Reads an instance of LoadTestProperties from the JsonReader.

ResourceState provisioningState()

Get the provisioningState property: Resource provisioning state.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LoadTestProperties withDescription(String description)

Set the description property: Description of the resource.

LoadTestProperties withEncryption(EncryptionProperties encryption)

Set the encryption property: CMK Encryption property.

Methods inherited from java.lang.Object

Constructor Details

LoadTestProperties

public LoadTestProperties()

Creates an instance of LoadTestProperties class.

Method Details

dataPlaneUri

public String dataPlaneUri()

Get the dataPlaneUri property: Resource data plane URI.

Returns:

the dataPlaneUri value.

description

public String description()

Get the description property: Description of the resource.

Returns:

the description value.

encryption

public EncryptionProperties encryption()

Get the encryption property: CMK Encryption property.

Returns:

the encryption value.

fromJson

public static LoadTestProperties fromJson(JsonReader jsonReader)

Reads an instance of LoadTestProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ResourceState provisioningState()

Get the provisioningState property: Resource provisioning state.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public LoadTestProperties withDescription(String description)

Set the description property: Description of the resource.

Parameters:

description - the description value to set.

Returns:

the LoadTestProperties object itself.

withEncryption

public LoadTestProperties withEncryption(EncryptionProperties encryption)

Set the encryption property: CMK Encryption property.

Parameters:

encryption - the encryption value to set.

Returns:

the LoadTestProperties object itself.

Applies to