Struct aws_sdk_transfer::types::builders::DescribedProfileBuilder
source · #[non_exhaustive]pub struct DescribedProfileBuilder { /* private fields */ }
Expand description
A builder for DescribedProfile
.
Implementations§
source§impl DescribedProfileBuilder
impl DescribedProfileBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The unique Amazon Resource Name (ARN) for the profile.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The unique Amazon Resource Name (ARN) for the profile.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The unique Amazon Resource Name (ARN) for the profile.
sourcepub fn profile_id(self, input: impl Into<String>) -> Self
pub fn profile_id(self, input: impl Into<String>) -> Self
A unique identifier for the local or partner AS2 profile.
sourcepub fn set_profile_id(self, input: Option<String>) -> Self
pub fn set_profile_id(self, input: Option<String>) -> Self
A unique identifier for the local or partner AS2 profile.
sourcepub fn get_profile_id(&self) -> &Option<String>
pub fn get_profile_id(&self) -> &Option<String>
A unique identifier for the local or partner AS2 profile.
sourcepub fn profile_type(self, input: ProfileType) -> Self
pub fn profile_type(self, input: ProfileType) -> Self
Indicates whether to list only LOCAL
type profiles or only PARTNER
type profiles. If not supplied in the request, the command lists all types of profiles.
sourcepub fn set_profile_type(self, input: Option<ProfileType>) -> Self
pub fn set_profile_type(self, input: Option<ProfileType>) -> Self
Indicates whether to list only LOCAL
type profiles or only PARTNER
type profiles. If not supplied in the request, the command lists all types of profiles.
sourcepub fn get_profile_type(&self) -> &Option<ProfileType>
pub fn get_profile_type(&self) -> &Option<ProfileType>
Indicates whether to list only LOCAL
type profiles or only PARTNER
type profiles. If not supplied in the request, the command lists all types of profiles.
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 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 profiles.
Key-value pairs that can be used to group and search for profiles.
Key-value pairs that can be used to group and search for profiles.
sourcepub fn build(self) -> Result<DescribedProfile, BuildError>
pub fn build(self) -> Result<DescribedProfile, BuildError>
Consumes the builder and constructs a DescribedProfile
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DescribedProfileBuilder
impl Clone for DescribedProfileBuilder
source§fn clone(&self) -> DescribedProfileBuilder
fn clone(&self) -> DescribedProfileBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribedProfileBuilder
impl Debug for DescribedProfileBuilder
source§impl Default for DescribedProfileBuilder
impl Default for DescribedProfileBuilder
source§fn default() -> DescribedProfileBuilder
fn default() -> DescribedProfileBuilder
source§impl PartialEq for DescribedProfileBuilder
impl PartialEq for DescribedProfileBuilder
source§fn eq(&self, other: &DescribedProfileBuilder) -> bool
fn eq(&self, other: &DescribedProfileBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribedProfileBuilder
Auto Trait Implementations§
impl Freeze for DescribedProfileBuilder
impl RefUnwindSafe for DescribedProfileBuilder
impl Send for DescribedProfileBuilder
impl Sync for DescribedProfileBuilder
impl Unpin for DescribedProfileBuilder
impl UnwindSafe for DescribedProfileBuilder
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> 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