Class LinkableEnvironmentRequest

java.lang.Object
com.azure.resourcemanager.dynatrace.models.LinkableEnvironmentRequest

public final class LinkableEnvironmentRequest extends Object
Request for getting all the linkable environments for a user.
  • Constructor Details

    • LinkableEnvironmentRequest

      public LinkableEnvironmentRequest()
  • Method Details

    • tenantId

      public String tenantId()
      Get the tenantId property: Tenant Id of the user in which they want to link the environment.
      Returns:
      the tenantId value.
    • withTenantId

      public LinkableEnvironmentRequest withTenantId(String tenantId)
      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

      public String userPrincipal()
      Get the userPrincipal property: user principal id of the user.
      Returns:
      the userPrincipal value.
    • withUserPrincipal

      public LinkableEnvironmentRequest withUserPrincipal(String userPrincipal)
      Set the userPrincipal property: user principal id of the user.
      Parameters:
      userPrincipal - the userPrincipal value to set.
      Returns:
      the LinkableEnvironmentRequest object itself.
    • region

      public String region()
      Get the region property: Azure region in which we want to link the environment.
      Returns:
      the region value.
    • withRegion

      public LinkableEnvironmentRequest withRegion(String region)
      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.