Class InstanceState.Builder

  • Enclosing class:
    InstanceState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

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

        public InstanceState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the instance.
        Returns:
        builder
      • autoResolveBestVoicesEnabled

        public InstanceState.Builder autoResolveBestVoicesEnabled​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> autoResolveBestVoicesEnabled)
        Parameters:
        autoResolveBestVoicesEnabled - Specifies whether auto resolve best voices is enabled. Defaults to `true`.
        Returns:
        builder
      • autoResolveBestVoicesEnabled

        public InstanceState.Builder autoResolveBestVoicesEnabled​(java.lang.Boolean autoResolveBestVoicesEnabled)
        Parameters:
        autoResolveBestVoicesEnabled - Specifies whether auto resolve best voices is enabled. Defaults to `true`.
        Returns:
        builder
      • contactFlowLogsEnabled

        public InstanceState.Builder contactFlowLogsEnabled​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> contactFlowLogsEnabled)
        Parameters:
        contactFlowLogsEnabled - Specifies whether contact flow logs are enabled. Defaults to `false`.
        Returns:
        builder
      • contactFlowLogsEnabled

        public InstanceState.Builder contactFlowLogsEnabled​(java.lang.Boolean contactFlowLogsEnabled)
        Parameters:
        contactFlowLogsEnabled - Specifies whether contact flow logs are enabled. Defaults to `false`.
        Returns:
        builder
      • contactLensEnabled

        public InstanceState.Builder contactLensEnabled​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> contactLensEnabled)
        Parameters:
        contactLensEnabled - Specifies whether contact lens is enabled. Defaults to `true`.
        Returns:
        builder
      • contactLensEnabled

        public InstanceState.Builder contactLensEnabled​(java.lang.Boolean contactLensEnabled)
        Parameters:
        contactLensEnabled - Specifies whether contact lens is enabled. Defaults to `true`.
        Returns:
        builder
      • createdTime

        public InstanceState.Builder createdTime​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> createdTime)
        Parameters:
        createdTime - When the instance was created.
        Returns:
        builder
      • createdTime

        public InstanceState.Builder createdTime​(java.lang.String createdTime)
        Parameters:
        createdTime - When the instance was created.
        Returns:
        builder
      • directoryId

        public InstanceState.Builder directoryId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> directoryId)
        Parameters:
        directoryId - The identifier for the directory if identityManagementType is `EXISTING_DIRECTORY`.
        Returns:
        builder
      • directoryId

        public InstanceState.Builder directoryId​(java.lang.String directoryId)
        Parameters:
        directoryId - The identifier for the directory if identityManagementType is `EXISTING_DIRECTORY`.
        Returns:
        builder
      • earlyMediaEnabled

        public InstanceState.Builder earlyMediaEnabled​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> earlyMediaEnabled)
        Parameters:
        earlyMediaEnabled - Specifies whether early media for outbound calls is enabled . Defaults to `true` if outbound calls is enabled.
        Returns:
        builder
      • earlyMediaEnabled

        public InstanceState.Builder earlyMediaEnabled​(java.lang.Boolean earlyMediaEnabled)
        Parameters:
        earlyMediaEnabled - Specifies whether early media for outbound calls is enabled . Defaults to `true` if outbound calls is enabled.
        Returns:
        builder
      • identityManagementType

        public InstanceState.Builder identityManagementType​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> identityManagementType)
        Parameters:
        identityManagementType - Specifies the identity management type attached to the instance. Allowed Values are: `SAML`, `CONNECT_MANAGED`, `EXISTING_DIRECTORY`.
        Returns:
        builder
      • identityManagementType

        public InstanceState.Builder identityManagementType​(java.lang.String identityManagementType)
        Parameters:
        identityManagementType - Specifies the identity management type attached to the instance. Allowed Values are: `SAML`, `CONNECT_MANAGED`, `EXISTING_DIRECTORY`.
        Returns:
        builder
      • inboundCallsEnabled

        public InstanceState.Builder inboundCallsEnabled​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> inboundCallsEnabled)
        Parameters:
        inboundCallsEnabled - Specifies whether inbound calls are enabled.
        Returns:
        builder
      • inboundCallsEnabled

        public InstanceState.Builder inboundCallsEnabled​(java.lang.Boolean inboundCallsEnabled)
        Parameters:
        inboundCallsEnabled - Specifies whether inbound calls are enabled.
        Returns:
        builder
      • instanceAlias

        public InstanceState.Builder instanceAlias​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> instanceAlias)
        Parameters:
        instanceAlias - Specifies the name of the instance. Required if `directoryId` not specified.
        Returns:
        builder
      • instanceAlias

        public InstanceState.Builder instanceAlias​(java.lang.String instanceAlias)
        Parameters:
        instanceAlias - Specifies the name of the instance. Required if `directoryId` not specified.
        Returns:
        builder
      • multiPartyConferenceEnabled

        public InstanceState.Builder multiPartyConferenceEnabled​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Boolean> multiPartyConferenceEnabled)
        Parameters:
        multiPartyConferenceEnabled - Specifies whether multi-party calls/conference is enabled. Defaults to `false`.
        Returns:
        builder
      • multiPartyConferenceEnabled

        public InstanceState.Builder multiPartyConferenceEnabled​(java.lang.Boolean multiPartyConferenceEnabled)
        Parameters:
        multiPartyConferenceEnabled - Specifies whether multi-party calls/conference is enabled. Defaults to `false`.
        Returns:
        builder
      • outboundCallsEnabled

        public InstanceState.Builder outboundCallsEnabled​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> outboundCallsEnabled)
        Parameters:
        outboundCallsEnabled - Specifies whether outbound calls are enabled.
        Returns:
        builder
      • outboundCallsEnabled

        public InstanceState.Builder outboundCallsEnabled​(java.lang.Boolean outboundCallsEnabled)
        Parameters:
        outboundCallsEnabled - Specifies whether outbound calls are enabled.
        Returns:
        builder
      • region

        public InstanceState.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 InstanceState.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
      • serviceRole

        public InstanceState.Builder serviceRole​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> serviceRole)
        Parameters:
        serviceRole - The service role of the instance.
        Returns:
        builder
      • serviceRole

        public InstanceState.Builder serviceRole​(java.lang.String serviceRole)
        Parameters:
        serviceRole - The service role of the instance.
        Returns:
        builder
      • status

        public InstanceState.Builder status​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The state of the instance.
        Returns:
        builder
      • status

        public InstanceState.Builder status​(java.lang.String status)
        Parameters:
        status - The state of the instance.
        Returns:
        builder
      • tags

        public InstanceState.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Tags to apply to the Instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. <!-- * `useCustomTtsVoices` - (Optional) Whether use custom tts voices is enabled. Defaults to `false` -->
        Returns:
        builder
      • tags

        public InstanceState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Tags to apply to the Instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. <!-- * `useCustomTtsVoices` - (Optional) Whether use custom tts voices is enabled. Defaults to `false` -->
        Returns:
        builder
      • tagsAll

        public InstanceState.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 InstanceState.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