Class LoadTestResourcePatchRequestBody

java.lang.Object
com.azure.resourcemanager.loadtestservice.models.LoadTestResourcePatchRequestBody

public final class LoadTestResourcePatchRequestBody extends Object
LoadTest resource patch request body.
  • Constructor Details

    • LoadTestResourcePatchRequestBody

      public LoadTestResourcePatchRequestBody()
      Creates an instance of LoadTestResourcePatchRequestBody class.
  • Method Details

    • tags

      public Object tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public LoadTestResourcePatchRequestBody withTags(Object tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the LoadTestResourcePatchRequestBody object itself.
    • identity

      public ManagedServiceIdentity 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

      public String description()
      Get the description property: Description of the resource.
      Returns:
      the description value.
    • withDescription

      public LoadTestResourcePatchRequestBody withDescription(String description)
      Set the description property: Description of the resource.
      Parameters:
      description - the description value to set.
      Returns:
      the LoadTestResourcePatchRequestBody object itself.
    • encryption

      public EncryptionProperties encryption()
      Get the encryption property: CMK Encryption property.
      Returns:
      the encryption value.
    • withEncryption

      public LoadTestResourcePatchRequestBody withEncryption(EncryptionProperties encryption)
      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.