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.
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.
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) -> TestIdentityProviderOutput
pub fn build(self) -> TestIdentityProviderOutput
Consumes the builder and constructs a TestIdentityProviderOutput.
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 ==.