LoadTestResourcePatchRequestBody Class
- java.
lang. Object - com.
azure. resourcemanager. loadtesting. models. LoadTestResourcePatchRequestBody
- com.
Implements
public final class LoadTestResourcePatchRequestBody
implements JsonSerializable<LoadTestResourcePatchRequestBody>
The type used for update operations of the LoadTestResource.
Constructor Summary
| Constructor | Description |
|---|---|
| LoadTestResourcePatchRequestBody() |
Creates an instance of Load |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Description of the resource. |
|
Encryption |
encryption()
Get the encryption property: CMK Encryption property. |
|
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
|
Managed |
identity()
Get the identity property: The managed service identities assigned to this resource. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Load |
withDescription(String description)
Set the description property: Description of the resource. |
|
Load |
withEncryption(EncryptionProperties encryption)
Set the encryption property: CMK Encryption property. |
|
Load |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identities assigned to this resource. |
|
Load |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
LoadTestResourcePatchRequestBody
public LoadTestResourcePatchRequestBody()
Creates an instance of LoadTestResourcePatchRequestBody class.
Method Details
description
public String description()
Get the description property: Description of the resource.
Returns:
encryption
public EncryptionProperties encryption()
Get the encryption property: CMK Encryption property.
Returns:
fromJson
public static LoadTestResourcePatchRequestBody fromJson(JsonReader jsonReader)
Reads an instance of LoadTestResourcePatchRequestBody from the JsonReader.
Parameters:
Returns:
Throws:
identity
public ManagedServiceIdentity identity()
Get the identity property: The managed service identities assigned to this resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public LoadTestResourcePatchRequestBody withDescription(String description)
Set the description property: Description of the resource.
Parameters:
Returns:
withEncryption
public LoadTestResourcePatchRequestBody withEncryption(EncryptionProperties encryption)
Set the encryption property: CMK Encryption property.
Parameters:
Returns:
withIdentity
public LoadTestResourcePatchRequestBody withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identities assigned to this resource.
Parameters:
Returns:
withTags
public LoadTestResourcePatchRequestBody withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: