Class LinkableEnvironmentRequest
java.lang.Object
com.azure.resourcemanager.dynatrace.models.LinkableEnvironmentRequest
Request for getting all the linkable environments for a user.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionregion()
Get the region property: Azure region in which we want to link the environment.tenantId()
Get the tenantId property: Tenant Id of the user in which they want to link the environment.Get the userPrincipal property: user principal id of the user.void
validate()
Validates the instance.withRegion
(String region) Set the region property: Azure region in which we want to link the environment.withTenantId
(String tenantId) Set the tenantId property: Tenant Id of the user in which they want to link the environment.withUserPrincipal
(String userPrincipal) Set the userPrincipal property: user principal id of the user.
-
Constructor Details
-
LinkableEnvironmentRequest
public LinkableEnvironmentRequest()
-
-
Method Details
-
tenantId
Get the tenantId property: Tenant Id of the user in which they want to link the environment.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: Tenant Id of the user in which they want to link the environment.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the LinkableEnvironmentRequest object itself.
-
userPrincipal
Get the userPrincipal property: user principal id of the user.- Returns:
- the userPrincipal value.
-
withUserPrincipal
Set the userPrincipal property: user principal id of the user.- Parameters:
userPrincipal
- the userPrincipal value to set.- Returns:
- the LinkableEnvironmentRequest object itself.
-
region
Get the region property: Azure region in which we want to link the environment.- Returns:
- the region value.
-
withRegion
Set the region property: Azure region in which we want to link the environment.- Parameters:
region
- the region value to set.- Returns:
- the LinkableEnvironmentRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-