Class DelegatedResource

java.lang.Object
com.azure.resourcemanager.containerservice.models.DelegatedResource

public final class DelegatedResource extends Object
Delegated resource properties - internal use only.
  • Constructor Details

    • DelegatedResource

      public DelegatedResource()
      Creates an instance of DelegatedResource class.
  • Method Details

    • resourceId

      public String resourceId()
      Get the resourceId property: The ARM resource id of the delegated resource - internal use only.
      Returns:
      the resourceId value.
    • withResourceId

      public DelegatedResource withResourceId(String resourceId)
      Set the resourceId property: The ARM resource id of the delegated resource - internal use only.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the DelegatedResource object itself.
    • tenantId

      public UUID tenantId()
      Get the tenantId property: The tenant id of the delegated resource - internal use only.
      Returns:
      the tenantId value.
    • withTenantId

      public DelegatedResource withTenantId(UUID tenantId)
      Set the tenantId property: The tenant id of the delegated resource - internal use only.
      Parameters:
      tenantId - the tenantId value to set.
      Returns:
      the DelegatedResource object itself.
    • referralResource

      public String referralResource()
      Get the referralResource property: The delegation id of the referral delegation (optional) - internal use only.
      Returns:
      the referralResource value.
    • withReferralResource

      public DelegatedResource withReferralResource(String referralResource)
      Set the referralResource property: The delegation id of the referral delegation (optional) - internal use only.
      Parameters:
      referralResource - the referralResource value to set.
      Returns:
      the DelegatedResource object itself.
    • location

      public String location()
      Get the location property: The source resource location - internal use only.
      Returns:
      the location value.
    • withLocation

      public DelegatedResource withLocation(String location)
      Set the location property: The source resource location - internal use only.
      Parameters:
      location - the location value to set.
      Returns:
      the DelegatedResource object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.