Interface CreateProfileRequest.Builder

    • Method Detail

      • name

        CreateProfileRequest.Builder name​(String name)

        Specifies the name of the profile.

        Parameters:
        name - Specifies the name of the profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • email

        CreateProfileRequest.Builder email​(String email)

        Specifies the email address associated with this customer profile.

        Parameters:
        email - Specifies the email address associated with this customer profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phone

        CreateProfileRequest.Builder phone​(String phone)

        Specifies the phone number associated with the profile.

        Parameters:
        phone - Specifies the phone number associated with the profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • businessName

        CreateProfileRequest.Builder businessName​(String businessName)

        Specifies the name for the business associated with this profile.

        Parameters:
        businessName - Specifies the name for the business associated with this profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logging

        CreateProfileRequest.Builder logging​(String logging)

        Specifies whether or not logging is enabled for this profile.

        Parameters:
        logging - Specifies whether or not logging is enabled for this profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Logging, Logging
      • logging

        CreateProfileRequest.Builder logging​(Logging logging)

        Specifies whether or not logging is enabled for this profile.

        Parameters:
        logging - Specifies whether or not logging is enabled for this profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Logging, Logging
      • clientToken

        CreateProfileRequest.Builder clientToken​(String clientToken)

        Reserved for future use.

        Parameters:
        clientToken - Reserved for future use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

        Parameters:
        tags - Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateProfileRequest.Builder tags​(Tag... tags)

        Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

        Parameters:
        tags - Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

        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)