Class UserArgs.Builder

  • Enclosing class:
    UserArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(UserArgs defaults)
    • Method Detail

      • directoryUserId

        public UserArgs.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 UserArgs.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 UserArgs.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 UserArgs.Builder hierarchyGroupId​(java.lang.String hierarchyGroupId)
        Parameters:
        hierarchyGroupId - The identifier of the hierarchy group for the user.
        Returns:
        builder
      • identityInfo

        public UserArgs.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 UserArgs.Builder identityInfo​(UserIdentityInfoArgs identityInfo)
        Parameters:
        identityInfo - A block that contains information about the identity of the user. Documented below.
        Returns:
        builder
      • instanceId

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

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

        public UserArgs.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 UserArgs.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 UserArgs.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 UserArgs.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 UserArgs.Builder phoneConfig​(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 UserArgs.Builder phoneConfig​(UserPhoneConfigArgs phoneConfig)
        Parameters:
        phoneConfig - A block that contains information about the phone settings for the user. Documented below.
        Returns:
        builder
      • region

        public UserArgs.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 UserArgs.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 UserArgs.Builder routingProfileId​(com.pulumi.core.Output<java.lang.String> routingProfileId)
        Parameters:
        routingProfileId - The identifier of the routing profile for the user.
        Returns:
        builder
      • routingProfileId

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

        public UserArgs.Builder securityProfileIds​(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 UserArgs.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 UserArgs.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 UserArgs.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 UserArgs.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