AwsOrganizationalDataMaster Class

public final class AwsOrganizationalDataMaster
extends AwsOrganizationalData

The AWS organization data for the master account.

Constructor Summary

Constructor Description
AwsOrganizationalDataMaster()

Creates an instance of AwsOrganizationalDataMaster class.

Method Summary

Modifier and Type Method and Description
List<String> excludedAccountIds()

Get the excludedAccountIds property: If the multi cloud account is of membership type organization, list of accounts excluded from offering.

static AwsOrganizationalDataMaster fromJson(JsonReader jsonReader)

Reads an instance of AwsOrganizationalDataMaster from the JsonReader.

OrganizationMembershipType organizationMembershipType()

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

String stacksetName()

Get the stacksetName property: If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AwsOrganizationalDataMaster withExcludedAccountIds(List<String> excludedAccountIds)

Set the excludedAccountIds property: If the multi cloud account is of membership type organization, list of accounts excluded from offering.

AwsOrganizationalDataMaster withStacksetName(String stacksetName)

Set the stacksetName property: If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset.

Methods inherited from AwsOrganizationalData

Methods inherited from java.lang.Object

Constructor Details

AwsOrganizationalDataMaster

public AwsOrganizationalDataMaster()

Creates an instance of AwsOrganizationalDataMaster class.

Method Details

excludedAccountIds

public List<String> excludedAccountIds()

Get the excludedAccountIds property: If the multi cloud account is of membership type organization, list of accounts excluded from offering.

Returns:

the excludedAccountIds value.

fromJson

public static AwsOrganizationalDataMaster fromJson(JsonReader jsonReader)

Reads an instance of AwsOrganizationalDataMaster from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AwsOrganizationalDataMaster 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 AwsOrganizationalDataMaster.

organizationMembershipType

public OrganizationMembershipType organizationMembershipType()

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

Overrides:

AwsOrganizationalDataMaster.organizationMembershipType()

Returns:

the organizationMembershipType value.

stacksetName

public String stacksetName()

Get the stacksetName property: If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset.

Returns:

the stacksetName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AwsOrganizationalDataMaster.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

AwsOrganizationalDataMaster.validate()

withExcludedAccountIds

public AwsOrganizationalDataMaster withExcludedAccountIds(List<String> excludedAccountIds)

Set the excludedAccountIds property: If the multi cloud account is of membership type organization, list of accounts excluded from offering.

Parameters:

excludedAccountIds - the excludedAccountIds value to set.

Returns:

the AwsOrganizationalDataMaster object itself.

withStacksetName

public AwsOrganizationalDataMaster withStacksetName(String stacksetName)

Set the stacksetName property: If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset.

Parameters:

stacksetName - the stacksetName value to set.

Returns:

the AwsOrganizationalDataMaster object itself.

Applies to