#[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
impl StructuralPartialEq for CreateProfileInputBuilder
Auto Trait Implementations§
impl Freeze for CreateProfileInputBuilder
impl RefUnwindSafe for CreateProfileInputBuilder
impl Send for CreateProfileInputBuilder
impl Sync for CreateProfileInputBuilder
impl Unpin for CreateProfileInputBuilder
impl UnwindSafe for CreateProfileInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more