Interface UserDetail.Builder

    • Method Detail

      • path

        UserDetail.Builder path​(String path)

        The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide.

        Parameters:
        path - The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userName

        UserDetail.Builder userName​(String userName)

        The friendly name identifying the user.

        Parameters:
        userName - The friendly name identifying the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userId

        UserDetail.Builder userId​(String userId)

        The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.

        Parameters:
        userId - The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        UserDetail.Builder arn​(String arn)
        Sets the value of the Arn property for this object.
        Parameters:
        arn - The new value for the Arn property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userPolicyList

        UserDetail.Builder userPolicyList​(Collection<PolicyDetail> userPolicyList)

        A list of the inline policies embedded in the user.

        Parameters:
        userPolicyList - A list of the inline policies embedded in the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userPolicyList

        UserDetail.Builder userPolicyList​(PolicyDetail... userPolicyList)

        A list of the inline policies embedded in the user.

        Parameters:
        userPolicyList - A list of the inline policies embedded in the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupList

        UserDetail.Builder groupList​(Collection<String> groupList)

        A list of IAM groups that the user is in.

        Parameters:
        groupList - A list of IAM groups that the user is in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupList

        UserDetail.Builder groupList​(String... groupList)

        A list of IAM groups that the user is in.

        Parameters:
        groupList - A list of IAM groups that the user is in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachedManagedPolicies

        UserDetail.Builder attachedManagedPolicies​(Collection<AttachedPolicy> attachedManagedPolicies)

        A list of the managed policies attached to the user.

        Parameters:
        attachedManagedPolicies - A list of the managed policies attached to the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachedManagedPolicies

        UserDetail.Builder attachedManagedPolicies​(AttachedPolicy... attachedManagedPolicies)

        A list of the managed policies attached to the user.

        Parameters:
        attachedManagedPolicies - A list of the managed policies attached to the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachedManagedPolicies

        UserDetail.Builder attachedManagedPolicies​(Consumer<AttachedPolicy.Builder>... attachedManagedPolicies)

        A list of the managed policies attached to the user.

        This is a convenience method that creates an instance of the AttachedPolicy.Builder avoiding the need to create one manually via AttachedPolicy.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #attachedManagedPolicies(List).

        Parameters:
        attachedManagedPolicies - a consumer that will call methods on AttachedPolicy.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #attachedManagedPolicies(java.util.Collection)
      • tags

        UserDetail.Builder tags​(Collection<Tag> tags)

        A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        Parameters:
        tags - A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        UserDetail.Builder tags​(Tag... tags)

        A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        Parameters:
        tags - A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        UserDetail.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)