Class LoadTestResourcePatchRequestBody
java.lang.Object
com.azure.resourcemanager.loadtesting.models.LoadTestResourcePatchRequestBody
LoadTest resource patch request body.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LoadTestResourcePatchRequestBody class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the resource.Get the encryption property: CMK Encryption property.identity()Get the identity property: The type of identity used for the resource.tags()Get the tags property: Resource tags.voidvalidate()Validates the instance.withDescription(String description) Set the description property: Description of the resource.withEncryption(EncryptionProperties encryption) Set the encryption property: CMK Encryption property.withIdentity(ManagedServiceIdentity identity) Set the identity property: The type of identity used for the resource.Set the tags property: Resource tags.
-
Constructor Details
-
LoadTestResourcePatchRequestBody
public LoadTestResourcePatchRequestBody()Creates an instance of LoadTestResourcePatchRequestBody class.
-
-
Method Details
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags- the tags value to set.- Returns:
- the LoadTestResourcePatchRequestBody object itself.
-
identity
Get the identity property: The type of identity used for the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The type of identity used for the resource.- Parameters:
identity- the identity value to set.- Returns:
- the LoadTestResourcePatchRequestBody object itself.
-
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 LoadTestResourcePatchRequestBody 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 LoadTestResourcePatchRequestBody object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-