Class OrganizationState.Builder

  • Enclosing class:
    OrganizationState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public OrganizationState.Builder arn​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Organization.
        Returns:
        builder
      • arn

        public OrganizationState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the Organization.
        Returns:
        builder
      • completedDate

        public OrganizationState.Builder completedDate​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> completedDate)
        Parameters:
        completedDate - Date and time (RFC3339) at which the organization became active.
        Returns:
        builder
      • completedDate

        public OrganizationState.Builder completedDate​(java.lang.String completedDate)
        Parameters:
        completedDate - Date and time (RFC3339) at which the organization became active.
        Returns:
        builder
      • defaultMailDomain

        public OrganizationState.Builder defaultMailDomain​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> defaultMailDomain)
        Parameters:
        defaultMailDomain - Default mail domain for the organization.
        Returns:
        builder
      • defaultMailDomain

        public OrganizationState.Builder defaultMailDomain​(java.lang.String defaultMailDomain)
        Parameters:
        defaultMailDomain - Default mail domain for the organization.
        Returns:
        builder
      • deleteDirectory

        public OrganizationState.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 OrganizationState.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 OrganizationState.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 OrganizationState.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 OrganizationState.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 OrganizationState.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
      • directoryType

        public OrganizationState.Builder directoryType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> directoryType)
        Parameters:
        directoryType - Type of the associated directory.
        Returns:
        builder
      • directoryType

        public OrganizationState.Builder directoryType​(java.lang.String directoryType)
        Parameters:
        directoryType - Type of the associated directory.
        Returns:
        builder
      • interoperabilityEnabled

        public OrganizationState.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 OrganizationState.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 OrganizationState.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 OrganizationState.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
      • migrationAdmin

        public OrganizationState.Builder migrationAdmin​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> migrationAdmin)
        Parameters:
        migrationAdmin - User ID of the migration admin if migration is enabled.
        Returns:
        builder
      • migrationAdmin

        public OrganizationState.Builder migrationAdmin​(java.lang.String migrationAdmin)
        Parameters:
        migrationAdmin - User ID of the migration admin if migration is enabled.
        Returns:
        builder
      • organizationAlias

        public OrganizationState.Builder organizationAlias​(@Nullable
                                                           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 OrganizationState.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
      • organizationId

        public OrganizationState.Builder organizationId​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> organizationId)
        Parameters:
        organizationId - ID of the WorkMail Organization.
        Returns:
        builder
      • organizationId

        public OrganizationState.Builder organizationId​(java.lang.String organizationId)
        Parameters:
        organizationId - ID of the WorkMail Organization.
        Returns:
        builder
      • region

        public OrganizationState.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 OrganizationState.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
      • state

        public OrganizationState.Builder state​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - State of the organization.
        Returns:
        builder
      • state

        public OrganizationState.Builder state​(java.lang.String state)
        Parameters:
        state - State of the organization.
        Returns:
        builder
      • tags

        public OrganizationState.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 OrganizationState.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
      • tagsAll

        public OrganizationState.Builder tagsAll​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public OrganizationState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder