Struct aws_sdk_transfer::operation::test_identity_provider::builders::TestIdentityProviderOutputBuilder
source · #[non_exhaustive]pub struct TestIdentityProviderOutputBuilder { /* private fields */ }
Expand description
A builder for TestIdentityProviderOutput
.
Implementations§
source§impl TestIdentityProviderOutputBuilder
impl TestIdentityProviderOutputBuilder
sourcepub fn response(self, input: impl Into<String>) -> Self
pub fn response(self, input: impl Into<String>) -> Self
The response that is returned from your API Gateway or your Lambda function.
sourcepub fn set_response(self, input: Option<String>) -> Self
pub fn set_response(self, input: Option<String>) -> Self
The response that is returned from your API Gateway or your Lambda function.
sourcepub fn get_response(&self) -> &Option<String>
pub fn get_response(&self) -> &Option<String>
The response that is returned from your API Gateway or your Lambda function.
sourcepub fn status_code(self, input: i32) -> Self
pub fn status_code(self, input: i32) -> Self
The HTTP status code that is the response from your API Gateway or your Lambda function.
This field is required.sourcepub fn set_status_code(self, input: Option<i32>) -> Self
pub fn set_status_code(self, input: Option<i32>) -> Self
The HTTP status code that is the response from your API Gateway or your Lambda function.
sourcepub fn get_status_code(&self) -> &Option<i32>
pub fn get_status_code(&self) -> &Option<i32>
The HTTP status code that is the response from your API Gateway or your Lambda function.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A message that indicates whether the test was successful or not.
If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message that indicates whether the test was successful or not.
If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
A message that indicates whether the test was successful or not.
If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
The endpoint of the service used to authenticate a user.
This field is required.sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
The endpoint of the service used to authenticate a user.
sourcepub fn get_url(&self) -> &Option<String>
pub fn get_url(&self) -> &Option<String>
The endpoint of the service used to authenticate a user.
sourcepub fn build(self) -> Result<TestIdentityProviderOutput, BuildError>
pub fn build(self) -> Result<TestIdentityProviderOutput, BuildError>
Consumes the builder and constructs a TestIdentityProviderOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TestIdentityProviderOutputBuilder
impl Clone for TestIdentityProviderOutputBuilder
source§fn clone(&self) -> TestIdentityProviderOutputBuilder
fn clone(&self) -> TestIdentityProviderOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TestIdentityProviderOutputBuilder
impl Default for TestIdentityProviderOutputBuilder
source§fn default() -> TestIdentityProviderOutputBuilder
fn default() -> TestIdentityProviderOutputBuilder
source§impl PartialEq for TestIdentityProviderOutputBuilder
impl PartialEq for TestIdentityProviderOutputBuilder
source§fn eq(&self, other: &TestIdentityProviderOutputBuilder) -> bool
fn eq(&self, other: &TestIdentityProviderOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestIdentityProviderOutputBuilder
Auto Trait Implementations§
impl Freeze for TestIdentityProviderOutputBuilder
impl RefUnwindSafe for TestIdentityProviderOutputBuilder
impl Send for TestIdentityProviderOutputBuilder
impl Sync for TestIdentityProviderOutputBuilder
impl Unpin for TestIdentityProviderOutputBuilder
impl UnwindSafe for TestIdentityProviderOutputBuilder
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