EnvironmentDetails Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. EnvironmentDetails
- com.
public final class EnvironmentDetails
The environment details of the resource.
Constructor Summary
Constructor | Description |
---|---|
EnvironmentDetails() |
Creates an instance of Environment |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
environmentHierarchyId()
Get the environment |
String |
nativeResourceId()
Get the native |
String |
organizationalHierarchyId()
Get the organizational |
String |
subscriptionId()
Get the subscription |
String |
tenantId()
Get the tenant |
void |
validate()
Validates the instance. |
Environment |
withEnvironmentHierarchyId(String environmentHierarchyId)
Set the environment |
Environment |
withNativeResourceId(String nativeResourceId)
Set the native |
Environment |
withOrganizationalHierarchyId(String organizationalHierarchyId)
Set the organizational |
Environment |
withSubscriptionId(String subscriptionId)
Set the subscription |
Environment |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
EnvironmentDetails
public EnvironmentDetails()
Creates an instance of EnvironmentDetails class.
Method Details
environmentHierarchyId
public String environmentHierarchyId()
Get the environmentHierarchyId property: The hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the hierarchyId id).
Returns:
nativeResourceId
public String nativeResourceId()
Get the nativeResourceId property: The native resource id of the resource (in case of Azure - the resource Id, in case of MC - the native resource id).
Returns:
organizationalHierarchyId
public String organizationalHierarchyId()
Get the organizationalHierarchyId property: The organizational hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the organizational hierarchyId id).
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription Id.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenant Id.
Returns:
validate
public void validate()
Validates the instance.
withEnvironmentHierarchyId
public EnvironmentDetails withEnvironmentHierarchyId(String environmentHierarchyId)
Set the environmentHierarchyId property: The hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the hierarchyId id).
Parameters:
Returns:
withNativeResourceId
public EnvironmentDetails withNativeResourceId(String nativeResourceId)
Set the nativeResourceId property: The native resource id of the resource (in case of Azure - the resource Id, in case of MC - the native resource id).
Parameters:
Returns:
withOrganizationalHierarchyId
public EnvironmentDetails withOrganizationalHierarchyId(String organizationalHierarchyId)
Set the organizationalHierarchyId property: The organizational hierarchy id of the connector (in case of Azure - the subscription Id, in case of MC - the organizational hierarchyId id).
Parameters:
Returns:
withSubscriptionId
public EnvironmentDetails withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription Id.
Parameters:
Returns:
withTenantId
public EnvironmentDetails withTenantId(String tenantId)
Set the tenantId property: The tenant Id.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for