Interface CreateProfileRequest.Builder

    • Method Detail

      • as2Id

        CreateProfileRequest.Builder as2Id​(String as2Id)

        The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.

        Parameters:
        as2Id - The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • profileType

        CreateProfileRequest.Builder profileType​(String profileType)

        Determines the type of profile to create:

        • Specify LOCAL to create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party.

        • Specify PARTNER to create a partner profile. A partner profile represents a remote organization, external to Transfer Family.

        Parameters:
        profileType - Determines the type of profile to create:

        • Specify LOCAL to create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party.

        • Specify PARTNER to create a partner profile. A partner profile represents a remote organization, external to Transfer Family.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProfileType, ProfileType
      • profileType

        CreateProfileRequest.Builder profileType​(ProfileType profileType)

        Determines the type of profile to create:

        • Specify LOCAL to create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party.

        • Specify PARTNER to create a partner profile. A partner profile represents a remote organization, external to Transfer Family.

        Parameters:
        profileType - Determines the type of profile to create:

        • Specify LOCAL to create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party.

        • Specify PARTNER to create a partner profile. A partner profile represents a remote organization, external to Transfer Family.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProfileType, ProfileType
      • certificateIds

        CreateProfileRequest.Builder certificateIds​(Collection<String> certificateIds)

        An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.

        Parameters:
        certificateIds - An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateIds

        CreateProfileRequest.Builder certificateIds​(String... certificateIds)

        An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.

        Parameters:
        certificateIds - An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Key-value pairs that can be used to group and search for AS2 profiles.

        Parameters:
        tags - Key-value pairs that can be used to group and search for AS2 profiles.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Key-value pairs that can be used to group and search for AS2 profiles.

        Parameters:
        tags - Key-value pairs that can be used to group and search for AS2 profiles.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        Key-value pairs that can be used to group and search for AS2 profiles.

        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)