Class UserState.Builder

  • Enclosing class:
    UserState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(UserState defaults)
    • Method Detail

      • arn

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

        public UserState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the user.
        Returns:
        builder
      • directoryUserId

        public UserState.Builder directoryUserId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> directoryUserId)
        Parameters:
        directoryUserId - The identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory. This parameter is required if you are using an existing directory for identity management in Amazon Connect when Amazon Connect cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.
        Returns:
        builder
      • directoryUserId

        public UserState.Builder directoryUserId​(java.lang.String directoryUserId)
        Parameters:
        directoryUserId - The identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory. This parameter is required if you are using an existing directory for identity management in Amazon Connect when Amazon Connect cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.
        Returns:
        builder
      • hierarchyGroupId

        public UserState.Builder hierarchyGroupId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> hierarchyGroupId)
        Parameters:
        hierarchyGroupId - The identifier of the hierarchy group for the user.
        Returns:
        builder
      • hierarchyGroupId

        public UserState.Builder hierarchyGroupId​(java.lang.String hierarchyGroupId)
        Parameters:
        hierarchyGroupId - The identifier of the hierarchy group for the user.
        Returns:
        builder
      • identityInfo

        public UserState.Builder identityInfo​(@Nullable
                                              com.pulumi.core.Output<UserIdentityInfoArgs> identityInfo)
        Parameters:
        identityInfo - A block that contains information about the identity of the user. Documented below.
        Returns:
        builder
      • identityInfo

        public UserState.Builder identityInfo​(UserIdentityInfoArgs identityInfo)
        Parameters:
        identityInfo - A block that contains information about the identity of the user. Documented below.
        Returns:
        builder
      • instanceId

        public UserState.Builder instanceId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> instanceId)
        Parameters:
        instanceId - Specifies the identifier of the hosting Amazon Connect Instance.
        Returns:
        builder
      • instanceId

        public UserState.Builder instanceId​(java.lang.String instanceId)
        Parameters:
        instanceId - Specifies the identifier of the hosting Amazon Connect Instance.
        Returns:
        builder
      • name

        public UserState.Builder name​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`.
        Returns:
        builder
      • name

        public UserState.Builder name​(java.lang.String name)
        Parameters:
        name - The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from `[a-zA-Z0-9_-.\@]+`.
        Returns:
        builder
      • password

        public UserState.Builder password​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> password)
        Parameters:
        password - The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.
        Returns:
        builder
      • password

        public UserState.Builder password​(java.lang.String password)
        Parameters:
        password - The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.
        Returns:
        builder
      • phoneConfig

        public UserState.Builder phoneConfig​(@Nullable
                                             com.pulumi.core.Output<UserPhoneConfigArgs> phoneConfig)
        Parameters:
        phoneConfig - A block that contains information about the phone settings for the user. Documented below.
        Returns:
        builder
      • phoneConfig

        public UserState.Builder phoneConfig​(UserPhoneConfigArgs phoneConfig)
        Parameters:
        phoneConfig - A block that contains information about the phone settings for the user. Documented below.
        Returns:
        builder
      • region

        public UserState.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 UserState.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
      • routingProfileId

        public UserState.Builder routingProfileId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> routingProfileId)
        Parameters:
        routingProfileId - The identifier of the routing profile for the user.
        Returns:
        builder
      • routingProfileId

        public UserState.Builder routingProfileId​(java.lang.String routingProfileId)
        Parameters:
        routingProfileId - The identifier of the routing profile for the user.
        Returns:
        builder
      • securityProfileIds

        public UserState.Builder securityProfileIds​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> securityProfileIds)
        Parameters:
        securityProfileIds - A list of identifiers for the security profiles for the user. Specify a minimum of 1 and maximum of 10 security profile IDs. For more information, see [Best Practices for Security Profiles](https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-best-practices.html) in the Amazon Connect Administrator Guide.
        Returns:
        builder
      • securityProfileIds

        public UserState.Builder securityProfileIds​(java.util.List<java.lang.String> securityProfileIds)
        Parameters:
        securityProfileIds - A list of identifiers for the security profiles for the user. Specify a minimum of 1 and maximum of 10 security profile IDs. For more information, see [Best Practices for Security Profiles](https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-best-practices.html) in the Amazon Connect Administrator Guide.
        Returns:
        builder
      • securityProfileIds

        public UserState.Builder securityProfileIds​(java.lang.String... securityProfileIds)
        Parameters:
        securityProfileIds - A list of identifiers for the security profiles for the user. Specify a minimum of 1 and maximum of 10 security profile IDs. For more information, see [Best Practices for Security Profiles](https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-best-practices.html) in the Amazon Connect Administrator Guide.
        Returns:
        builder
      • tags

        public UserState.Builder tags​(@Nullable
                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Tags to apply to the user. 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 UserState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Tags to apply to the user. 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 UserState.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 UserState.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
      • userId

        public UserState.Builder userId​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> userId)
        Parameters:
        userId - The identifier for the user.
        Returns:
        builder
      • userId

        public UserState.Builder userId​(java.lang.String userId)
        Parameters:
        userId - The identifier for the user.
        Returns:
        builder