Class GetOrganizationResult


  • public final class GetOrganizationResult
    extends java.lang.Object
    • Method Detail

      • accounts

        public java.util.List<GetOrganizationAccount> accounts()
        Returns:
        List of organization accounts including the master account. For a list excluding the master account, see the `nonMasterAccounts` attribute. All elements have these attributes:
      • arn

        public java.lang.String arn()
        Returns:
        ARN of the root.
      • awsServiceAccessPrincipals

        public java.util.List<java.lang.String> awsServiceAccessPrincipals()
        Returns:
        A list of AWS service principal names that have integration enabled with your organization. Organization must have `featureSet` set to `ALL`. For additional information, see the [AWS Organizations User Guide](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html).
      • enabledPolicyTypes

        public java.util.List<java.lang.String> enabledPolicyTypes()
        Returns:
        A list of Organizations policy types that are enabled in the Organization Root. Organization must have `featureSet` set to `ALL`. For additional information about valid policy types (e.g., `SERVICE_CONTROL_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
      • featureSet

        public java.lang.String featureSet()
        Returns:
        FeatureSet of the organization.
      • id

        public java.lang.String id()
        Returns:
        The provider-assigned unique ID for this managed resource.
      • masterAccountArn

        public java.lang.String masterAccountArn()
        Returns:
        ARN of the account that is designated as the master account for the organization.
      • masterAccountEmail

        public java.lang.String masterAccountEmail()
        Returns:
        The email address that is associated with the AWS account that is designated as the master account for the organization.
      • masterAccountId

        public java.lang.String masterAccountId()
        Returns:
        Unique identifier (ID) of the master account of an organization.
      • masterAccountName

        public java.lang.String masterAccountName()
        Returns:
        Name of the master account of an organization.
      • nonMasterAccounts

        public java.util.List<GetOrganizationNonMasterAccount> nonMasterAccounts()
        Returns:
        List of organization accounts excluding the master account. For a list including the master account, see the `accounts` attribute. All elements have these attributes:
      • returnOrganizationOnly

        public java.util.Optional<java.lang.Boolean> returnOrganizationOnly()
      • roots

        public java.util.List<GetOrganizationRoot> roots()
        Returns:
        List of organization roots. All elements have these attributes: