Class LoadTestResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.loadtestservice.fluent.models.LoadTestResourceInner
-
public final class LoadTestResourceInner extends com.azure.core.management.Resource
LoadTest details.
-
-
Constructor Summary
Constructors Constructor Description LoadTestResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dataPlaneUri()
Get the dataPlaneUri property: Resource data plane URI.String
description()
Get the description property: Description of the resource.SystemAssignedServiceIdentity
identity()
Get the identity property: The type of identity used for the resource.ResourceState
provisioningState()
Get the provisioningState property: Resource provisioning state.void
validate()
Validates the instance.LoadTestResourceInner
withDescription(String description)
Set the description property: Description of the resource.LoadTestResourceInner
withIdentity(SystemAssignedServiceIdentity identity)
Set the identity property: The type of identity used for the resource.LoadTestResourceInner
withLocation(String location)
LoadTestResourceInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
identity
public SystemAssignedServiceIdentity identity()
Get the identity property: The type of identity used for the resource.- Returns:
- the identity value.
-
withIdentity
public LoadTestResourceInner withIdentity(SystemAssignedServiceIdentity identity)
Set the identity property: The type of identity used for the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the LoadTestResourceInner object itself.
-
withLocation
public LoadTestResourceInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public LoadTestResourceInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
description
public String description()
Get the description property: Description of the resource.- Returns:
- the description value.
-
withDescription
public LoadTestResourceInner withDescription(String description)
Set the description property: Description of the resource.- Parameters:
description
- the description value to set.- Returns:
- the LoadTestResourceInner object itself.
-
provisioningState
public ResourceState provisioningState()
Get the provisioningState property: Resource provisioning state.- Returns:
- the provisioningState value.
-
dataPlaneUri
public String dataPlaneUri()
Get the dataPlaneUri property: Resource data plane URI.- Returns:
- the dataPlaneUri value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-