Class ServiceRunnerInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.ServiceRunnerInner
public final class ServiceRunnerInner
extends com.azure.core.management.Resource
A container for a managed identity to execute DevTest lab services.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: The identity of the resource.void
validate()
Validates the instance.withIdentity
(IdentityProperties identity) Set the identity property: The identity of the resource.withLocation
(String location) Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ServiceRunnerInner
public ServiceRunnerInner()Creates an instance of ServiceRunnerInner class.
-
-
Method Details
-
identity
Get the identity property: The identity of the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the ServiceRunnerInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-