#[non_exhaustive]pub struct CreateProfileInputBuilder { /* private fields */ }Expand description
A builder for CreateProfileInput.
Implementations§
source§impl CreateProfileInputBuilder
impl CreateProfileInputBuilder
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
LOCALto create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party. -
Specify
PARTNERto 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
LOCALto create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party. -
Specify
PARTNERto 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
LOCALto create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party. -
Specify
PARTNERto 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 certificate_ids.
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.
sourcepub fn build(self) -> Result<CreateProfileInput, BuildError>
pub fn build(self) -> Result<CreateProfileInput, BuildError>
Consumes the builder and constructs a CreateProfileInput.
source§impl CreateProfileInputBuilder
impl CreateProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateProfileOutput, SdkError<CreateProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateProfileOutput, SdkError<CreateProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateProfileInputBuilder
impl Clone for CreateProfileInputBuilder
source§fn clone(&self) -> CreateProfileInputBuilder
fn clone(&self) -> CreateProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateProfileInputBuilder
impl Debug for CreateProfileInputBuilder
source§impl Default for CreateProfileInputBuilder
impl Default for CreateProfileInputBuilder
source§fn default() -> CreateProfileInputBuilder
fn default() -> CreateProfileInputBuilder
source§impl PartialEq for CreateProfileInputBuilder
impl PartialEq for CreateProfileInputBuilder
source§fn eq(&self, other: &CreateProfileInputBuilder) -> bool
fn eq(&self, other: &CreateProfileInputBuilder) -> bool
self and other values to be equal, and is used
by ==.