pub struct CreateProfileFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateProfile
.
Creates the local or partner profile to use for AS2 transfers.
Implementations§
source§impl CreateProfileFluentBuilder
impl CreateProfileFluentBuilder
sourcepub fn as_input(&self) -> &CreateProfileInputBuilder
pub fn as_input(&self) -> &CreateProfileInputBuilder
Access the CreateProfile as a reference.
sourcepub async fn send(
self
) -> Result<CreateProfileOutput, SdkError<CreateProfileError, HttpResponse>>
pub async fn send( self ) -> Result<CreateProfileOutput, SdkError<CreateProfileError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateProfileOutput, CreateProfileError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateProfileOutput, CreateProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn as2_id(self, input: impl Into<String>) -> Self
pub fn as2_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_as2_id(self, input: Option<String>) -> Self
pub fn set_as2_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_as2_id(&self) -> &Option<String>
pub fn get_as2_id(&self) -> &Option<String>
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.
sourcepub fn profile_type(self, input: ProfileType) -> Self
pub fn profile_type(self, input: ProfileType) -> Self
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.
sourcepub fn set_profile_type(self, input: Option<ProfileType>) -> Self
pub fn set_profile_type(self, input: Option<ProfileType>) -> Self
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.
sourcepub fn get_profile_type(&self) -> &Option<ProfileType>
pub fn get_profile_type(&self) -> &Option<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.
sourcepub fn certificate_ids(self, input: impl Into<String>) -> Self
pub fn certificate_ids(self, input: impl Into<String>) -> Self
Appends an item to CertificateIds
.
To override the contents of this collection use set_certificate_ids
.
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
sourcepub fn set_certificate_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_certificate_ids(self, input: Option<Vec<String>>) -> Self
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
sourcepub fn get_certificate_ids(&self) -> &Option<Vec<String>>
pub fn get_certificate_ids(&self) -> &Option<Vec<String>>
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
Key-value pairs that can be used to group and search for AS2 profiles.
Key-value pairs that can be used to group and search for AS2 profiles.
Key-value pairs that can be used to group and search for AS2 profiles.
Trait Implementations§
source§impl Clone for CreateProfileFluentBuilder
impl Clone for CreateProfileFluentBuilder
source§fn clone(&self) -> CreateProfileFluentBuilder
fn clone(&self) -> CreateProfileFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more