Class LoadTestResourcePatchRequestBody
- java.lang.Object
-
- com.azure.resourcemanager.loadtestservice.models.LoadTestResourcePatchRequestBody
-
public final class LoadTestResourcePatchRequestBody extends Object
LoadTest resource patch request body.
-
-
Constructor Summary
Constructors Constructor Description LoadTestResourcePatchRequestBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemAssignedServiceIdentity
identity()
Get the identity property: The type of identity used for the resource.LoadTestResourcePatchRequestBodyProperties
properties()
Get the properties property: Load Test resource properties.Object
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.LoadTestResourcePatchRequestBody
withIdentity(SystemAssignedServiceIdentity identity)
Set the identity property: The type of identity used for the resource.LoadTestResourcePatchRequestBody
withProperties(LoadTestResourcePatchRequestBodyProperties properties)
Set the properties property: Load Test resource properties.LoadTestResourcePatchRequestBody
withTags(Object tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
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 SystemAssignedServiceIdentity identity()
Get the identity property: The type of identity used for the resource.- Returns:
- the identity value.
-
withIdentity
public LoadTestResourcePatchRequestBody withIdentity(SystemAssignedServiceIdentity identity)
Set the identity property: The type of identity used for the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the LoadTestResourcePatchRequestBody object itself.
-
properties
public LoadTestResourcePatchRequestBodyProperties properties()
Get the properties property: Load Test resource properties.- Returns:
- the properties value.
-
withProperties
public LoadTestResourcePatchRequestBody withProperties(LoadTestResourcePatchRequestBodyProperties properties)
Set the properties property: Load Test resource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the LoadTestResourcePatchRequestBody object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-