EnvironmentDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.EnvironmentDetails

public final class EnvironmentDetails

The environment details of the resource.

Constructor Summary

Constructor Description
EnvironmentDetails()

Creates an instance of EnvironmentDetails class.

Method Summary

Modifier and Type Method and Description
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).

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).

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).

String subscriptionId()

Get the subscriptionId property: The subscription Id.

String tenantId()

Get the tenantId property: The tenant Id.

void validate()

Validates the instance.

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).

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).

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).

EnvironmentDetails withSubscriptionId(String subscriptionId)

Set the subscriptionId property: The subscription Id.

EnvironmentDetails withTenantId(String tenantId)

Set the tenantId property: The tenant Id.

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:

the environmentHierarchyId value.

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:

the nativeResourceId value.

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:

the organizationalHierarchyId value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: The subscription Id.

Returns:

the subscriptionId value.

tenantId

public String tenantId()

Get the tenantId property: The tenant Id.

Returns:

the tenantId value.

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:

environmentHierarchyId - the environmentHierarchyId value to set.

Returns:

the EnvironmentDetails object itself.

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:

nativeResourceId - the nativeResourceId value to set.

Returns:

the EnvironmentDetails object itself.

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:

organizationalHierarchyId - the organizationalHierarchyId value to set.

Returns:

the EnvironmentDetails object itself.

withSubscriptionId

public EnvironmentDetails withSubscriptionId(String subscriptionId)

Set the subscriptionId property: The subscription Id.

Parameters:

subscriptionId - the subscriptionId value to set.

Returns:

the EnvironmentDetails object itself.

withTenantId

public EnvironmentDetails withTenantId(String tenantId)

Set the tenantId property: The tenant Id.

Parameters:

tenantId - the tenantId value to set.

Returns:

the EnvironmentDetails object itself.

Applies to