GcpOrganizationalDataMember Class

public final class GcpOrganizationalDataMember
extends GcpOrganizationalData

The gcpOrganization data for the member account.

Constructor Summary

Constructor Description
GcpOrganizationalDataMember()

Creates an instance of GcpOrganizationalDataMember class.

Method Summary

Modifier and Type Method and Description
String managementProjectNumber()

Get the managementProjectNumber property: The GCP management project number from organizational onboarding.

String parentHierarchyId()

Get the parentHierarchyId property: If the multi cloud account is not of membership type organization, this will be the ID of the project's parent.

void validate()

Validates the instance.

GcpOrganizationalDataMember withManagementProjectNumber(String managementProjectNumber)

Set the managementProjectNumber property: The GCP management project number from organizational onboarding.

GcpOrganizationalDataMember withParentHierarchyId(String parentHierarchyId)

Set the parentHierarchyId property: If the multi cloud account is not of membership type organization, this will be the ID of the project's parent.

Methods inherited from GcpOrganizationalData

Methods inherited from java.lang.Object

Constructor Details

GcpOrganizationalDataMember

public GcpOrganizationalDataMember()

Creates an instance of GcpOrganizationalDataMember class.

Method Details

managementProjectNumber

public String managementProjectNumber()

Get the managementProjectNumber property: The GCP management project number from organizational onboarding.

Returns:

the managementProjectNumber value.

parentHierarchyId

public String parentHierarchyId()

Get the parentHierarchyId property: If the multi cloud account is not of membership type organization, this will be the ID of the project's parent.

Returns:

the parentHierarchyId value.

validate

public void validate()

Validates the instance.

Overrides:

GcpOrganizationalDataMember.validate()

withManagementProjectNumber

public GcpOrganizationalDataMember withManagementProjectNumber(String managementProjectNumber)

Set the managementProjectNumber property: The GCP management project number from organizational onboarding.

Parameters:

managementProjectNumber - the managementProjectNumber value to set.

Returns:

the GcpOrganizationalDataMember object itself.

withParentHierarchyId

public GcpOrganizationalDataMember withParentHierarchyId(String parentHierarchyId)

Set the parentHierarchyId property: If the multi cloud account is not of membership type organization, this will be the ID of the project's parent.

Parameters:

parentHierarchyId - the parentHierarchyId value to set.

Returns:

the GcpOrganizationalDataMember object itself.

Applies to