Struct aws_sdk_redshift::operation::create_authentication_profile::builders::CreateAuthenticationProfileInputBuilder
source · #[non_exhaustive]pub struct CreateAuthenticationProfileInputBuilder { /* private fields */ }
Expand description
A builder for CreateAuthenticationProfileInput
.
Implementations§
source§impl CreateAuthenticationProfileInputBuilder
impl CreateAuthenticationProfileInputBuilder
sourcepub fn authentication_profile_name(self, input: impl Into<String>) -> Self
pub fn authentication_profile_name(self, input: impl Into<String>) -> Self
The name of the authentication profile to be created.
This field is required.sourcepub fn set_authentication_profile_name(self, input: Option<String>) -> Self
pub fn set_authentication_profile_name(self, input: Option<String>) -> Self
The name of the authentication profile to be created.
sourcepub fn get_authentication_profile_name(&self) -> &Option<String>
pub fn get_authentication_profile_name(&self) -> &Option<String>
The name of the authentication profile to be created.
sourcepub fn authentication_profile_content(self, input: impl Into<String>) -> Self
pub fn authentication_profile_content(self, input: impl Into<String>) -> Self
The content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.
This field is required.sourcepub fn set_authentication_profile_content(self, input: Option<String>) -> Self
pub fn set_authentication_profile_content(self, input: Option<String>) -> Self
The content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.
sourcepub fn get_authentication_profile_content(&self) -> &Option<String>
pub fn get_authentication_profile_content(&self) -> &Option<String>
The content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.
sourcepub fn build(self) -> Result<CreateAuthenticationProfileInput, BuildError>
pub fn build(self) -> Result<CreateAuthenticationProfileInput, BuildError>
Consumes the builder and constructs a CreateAuthenticationProfileInput
.
source§impl CreateAuthenticationProfileInputBuilder
impl CreateAuthenticationProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateAuthenticationProfileOutput, SdkError<CreateAuthenticationProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateAuthenticationProfileOutput, SdkError<CreateAuthenticationProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAuthenticationProfileInputBuilder
impl Clone for CreateAuthenticationProfileInputBuilder
source§fn clone(&self) -> CreateAuthenticationProfileInputBuilder
fn clone(&self) -> CreateAuthenticationProfileInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateAuthenticationProfileInputBuilder
impl Default for CreateAuthenticationProfileInputBuilder
source§fn default() -> CreateAuthenticationProfileInputBuilder
fn default() -> CreateAuthenticationProfileInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateAuthenticationProfileInputBuilder
impl PartialEq for CreateAuthenticationProfileInputBuilder
source§fn eq(&self, other: &CreateAuthenticationProfileInputBuilder) -> bool
fn eq(&self, other: &CreateAuthenticationProfileInputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateAuthenticationProfileInputBuilder
Auto Trait Implementations§
impl Freeze for CreateAuthenticationProfileInputBuilder
impl RefUnwindSafe for CreateAuthenticationProfileInputBuilder
impl Send for CreateAuthenticationProfileInputBuilder
impl Sync for CreateAuthenticationProfileInputBuilder
impl Unpin for CreateAuthenticationProfileInputBuilder
impl UnwindSafe for CreateAuthenticationProfileInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.