Class OrganizationArgs.Builder

  • Enclosing class:
    OrganizationArgs

    public static final class OrganizationArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • deleteDirectory

        public OrganizationArgs.Builder deleteDirectory​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> deleteDirectory)
        Parameters:
        deleteDirectory - Whether to delete the AWS Directory Service directory associated with the organization on destroy. To update this value after creation, run `pulumi up` before running `terraform destroy`. Defaults to `false`.
        Returns:
        builder
      • deleteDirectory

        public OrganizationArgs.Builder deleteDirectory​(java.lang.Boolean deleteDirectory)
        Parameters:
        deleteDirectory - Whether to delete the AWS Directory Service directory associated with the organization on destroy. To update this value after creation, run `pulumi up` before running `terraform destroy`. Defaults to `false`.
        Returns:
        builder
      • deleteIdentityCenterApplication

        public OrganizationArgs.Builder deleteIdentityCenterApplication​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.Boolean> deleteIdentityCenterApplication)
        Parameters:
        deleteIdentityCenterApplication - Whether to delete the IAM Identity Center application associated with the organization on destroy. To update this value after creation, run `pulumi up` before running `terraform destroy`. Defaults to `false`.
        Returns:
        builder
      • deleteIdentityCenterApplication

        public OrganizationArgs.Builder deleteIdentityCenterApplication​(java.lang.Boolean deleteIdentityCenterApplication)
        Parameters:
        deleteIdentityCenterApplication - Whether to delete the IAM Identity Center application associated with the organization on destroy. To update this value after creation, run `pulumi up` before running `terraform destroy`. Defaults to `false`.
        Returns:
        builder
      • directoryId

        public OrganizationArgs.Builder directoryId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> directoryId)
        Parameters:
        directoryId - ID of an existing directory to associate with the organization. Changing this creates a new resource.
        Returns:
        builder
      • directoryId

        public OrganizationArgs.Builder directoryId​(java.lang.String directoryId)
        Parameters:
        directoryId - ID of an existing directory to associate with the organization. Changing this creates a new resource.
        Returns:
        builder
      • interoperabilityEnabled

        public OrganizationArgs.Builder interoperabilityEnabled​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> interoperabilityEnabled)
        Parameters:
        interoperabilityEnabled - Whether to enable interoperability between WorkMail and Microsoft Exchange. Changing this creates a new resource.
        Returns:
        builder
      • interoperabilityEnabled

        public OrganizationArgs.Builder interoperabilityEnabled​(java.lang.Boolean interoperabilityEnabled)
        Parameters:
        interoperabilityEnabled - Whether to enable interoperability between WorkMail and Microsoft Exchange. Changing this creates a new resource.
        Returns:
        builder
      • kmsKeyArn

        public OrganizationArgs.Builder kmsKeyArn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of a customer-managed KMS key to encrypt the organization's data. If omitted, AWS managed keys are used. Changing this creates a new resource.
        Returns:
        builder
      • kmsKeyArn

        public OrganizationArgs.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of a customer-managed KMS key to encrypt the organization's data. If omitted, AWS managed keys are used. Changing this creates a new resource.
        Returns:
        builder
      • organizationAlias

        public OrganizationArgs.Builder organizationAlias​(com.pulumi.core.Output<java.lang.String> organizationAlias)
        Parameters:
        organizationAlias - Alias for the organization. Must be unique globally. Changing this creates a new resource. The following arguments are optional:
        Returns:
        builder
      • organizationAlias

        public OrganizationArgs.Builder organizationAlias​(java.lang.String organizationAlias)
        Parameters:
        organizationAlias - Alias for the organization. Must be unique globally. Changing this creates a new resource. The following arguments are optional:
        Returns:
        builder
      • region

        public OrganizationArgs.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public OrganizationArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public OrganizationArgs.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public OrganizationArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder