Class DelegatedResource
java.lang.Object
com.azure.resourcemanager.containerservice.models.DelegatedResource
Delegated resource properties - internal use only.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlocation()Get the location property: The source resource location - internal use only.Get the referralResource property: The delegation id of the referral delegation (optional) - internal use only.Get the resourceId property: The ARM resource id of the delegated resource - internal use only.tenantId()Get the tenantId property: The tenant id of the delegated resource - internal use only.voidvalidate()Validates the instance.withLocation(String location) Set the location property: The source resource location - internal use only.withReferralResource(String referralResource) Set the referralResource property: The delegation id of the referral delegation (optional) - internal use only.withResourceId(String resourceId) Set the resourceId property: The ARM resource id of the delegated resource - internal use only.withTenantId(UUID tenantId) Set the tenantId property: The tenant id of the delegated resource - internal use only.
-
Constructor Details
-
DelegatedResource
public DelegatedResource()Creates an instance of DelegatedResource class.
-
-
Method Details
-
resourceId
Get the resourceId property: The ARM resource id of the delegated resource - internal use only.- Returns:
- the resourceId value.
-
withResourceId
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
Get the tenantId property: The tenant id of the delegated resource - internal use only.- Returns:
- the tenantId value.
-
withTenantId
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
Get the referralResource property: The delegation id of the referral delegation (optional) - internal use only.- Returns:
- the referralResource value.
-
withReferralResource
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
Get the location property: The source resource location - internal use only.- Returns:
- the location value.
-
withLocation
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.
-