AwsOrganizationalDataMember Class

public final class AwsOrganizationalDataMember
extends AwsOrganizationalData

The AWS organization data for the member account.

Constructor Summary

Constructor Description
AwsOrganizationalDataMember()

Creates an instance of AwsOrganizationalDataMember class.

Method Summary

Modifier and Type Method and Description
static AwsOrganizationalDataMember fromJson(JsonReader jsonReader)

Reads an instance of AwsOrganizationalDataMember from the JsonReader.

OrganizationMembershipType organizationMembershipType()

Get the organizationMembershipType property: The multi cloud account's membership type in the organization.

String parentHierarchyId()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AwsOrganizationalDataMember 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 account's parent.

Methods inherited from AwsOrganizationalData

Methods inherited from java.lang.Object

Constructor Details

AwsOrganizationalDataMember

public AwsOrganizationalDataMember()

Creates an instance of AwsOrganizationalDataMember class.

Method Details

fromJson

public static AwsOrganizationalDataMember fromJson(JsonReader jsonReader)

Reads an instance of AwsOrganizationalDataMember from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AwsOrganizationalDataMember if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AwsOrganizationalDataMember.

organizationMembershipType

public OrganizationMembershipType organizationMembershipType()

Get the organizationMembershipType property: The multi cloud account's membership type in the organization.

Overrides:

AwsOrganizationalDataMember.organizationMembershipType()

Returns:

the organizationMembershipType 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 account's parent.

Returns:

the parentHierarchyId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AwsOrganizationalDataMember.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

AwsOrganizationalDataMember.validate()

withParentHierarchyId

public AwsOrganizationalDataMember 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 account's parent.

Parameters:

parentHierarchyId - the parentHierarchyId value to set.

Returns:

the AwsOrganizationalDataMember object itself.

Applies to