Class LoadTestResourcePatchRequestBodyProperties
java.lang.Object
com.azure.resourcemanager.loadtestservice.fluent.models.LoadTestResourcePatchRequestBodyProperties
Load Test resource properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LoadTestResourcePatchRequestBodyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the resource.Get the encryption property: CMK Encryption property.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the resource.withEncryption
(EncryptionProperties encryption) Set the encryption property: CMK Encryption property.
-
Constructor Details
-
LoadTestResourcePatchRequestBodyProperties
public LoadTestResourcePatchRequestBodyProperties()Creates an instance of LoadTestResourcePatchRequestBodyProperties class.
-
-
Method Details
-
description
Get the description property: Description of the resource.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the resource.- Parameters:
description
- the description value to set.- Returns:
- the LoadTestResourcePatchRequestBodyProperties object itself.
-
encryption
Get the encryption property: CMK Encryption property.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: CMK Encryption property.- Parameters:
encryption
- the encryption value to set.- Returns:
- the LoadTestResourcePatchRequestBodyProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-