Struct aws_sdk_ssooidc::operation::start_device_authorization::builders::StartDeviceAuthorizationInputBuilder
source · #[non_exhaustive]pub struct StartDeviceAuthorizationInputBuilder { /* private fields */ }
Expand description
A builder for StartDeviceAuthorizationInput
.
Implementations§
source§impl StartDeviceAuthorizationInputBuilder
impl StartDeviceAuthorizationInputBuilder
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
The unique identifier string for the client that is registered with IAM Identity Center. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
The unique identifier string for the client that is registered with IAM Identity Center. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
The unique identifier string for the client that is registered with IAM Identity Center. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn client_secret(self, input: impl Into<String>) -> Self
pub fn client_secret(self, input: impl Into<String>) -> Self
A secret string that is generated for the client. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn set_client_secret(self, input: Option<String>) -> Self
pub fn set_client_secret(self, input: Option<String>) -> Self
A secret string that is generated for the client. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn get_client_secret(&self) -> &Option<String>
pub fn get_client_secret(&self) -> &Option<String>
A secret string that is generated for the client. This value should come from the persisted result of the RegisterClient
API operation.
sourcepub fn start_url(self, input: impl Into<String>) -> Self
pub fn start_url(self, input: impl Into<String>) -> Self
The URL for the Amazon Web Services access portal. For more information, see Using the Amazon Web Services access portal in the IAM Identity Center User Guide.
This field is required.sourcepub fn set_start_url(self, input: Option<String>) -> Self
pub fn set_start_url(self, input: Option<String>) -> Self
The URL for the Amazon Web Services access portal. For more information, see Using the Amazon Web Services access portal in the IAM Identity Center User Guide.
sourcepub fn get_start_url(&self) -> &Option<String>
pub fn get_start_url(&self) -> &Option<String>
The URL for the Amazon Web Services access portal. For more information, see Using the Amazon Web Services access portal in the IAM Identity Center User Guide.
sourcepub fn build(self) -> Result<StartDeviceAuthorizationInput, BuildError>
pub fn build(self) -> Result<StartDeviceAuthorizationInput, BuildError>
Consumes the builder and constructs a StartDeviceAuthorizationInput
.
source§impl StartDeviceAuthorizationInputBuilder
impl StartDeviceAuthorizationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<StartDeviceAuthorizationOutput, SdkError<StartDeviceAuthorizationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<StartDeviceAuthorizationOutput, SdkError<StartDeviceAuthorizationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartDeviceAuthorizationInputBuilder
impl Clone for StartDeviceAuthorizationInputBuilder
source§fn clone(&self) -> StartDeviceAuthorizationInputBuilder
fn clone(&self) -> StartDeviceAuthorizationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartDeviceAuthorizationInputBuilder
impl Default for StartDeviceAuthorizationInputBuilder
source§fn default() -> StartDeviceAuthorizationInputBuilder
fn default() -> StartDeviceAuthorizationInputBuilder
source§impl PartialEq for StartDeviceAuthorizationInputBuilder
impl PartialEq for StartDeviceAuthorizationInputBuilder
source§fn eq(&self, other: &StartDeviceAuthorizationInputBuilder) -> bool
fn eq(&self, other: &StartDeviceAuthorizationInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StartDeviceAuthorizationInputBuilder
Auto Trait Implementations§
impl Freeze for StartDeviceAuthorizationInputBuilder
impl RefUnwindSafe for StartDeviceAuthorizationInputBuilder
impl Send for StartDeviceAuthorizationInputBuilder
impl Sync for StartDeviceAuthorizationInputBuilder
impl Unpin for StartDeviceAuthorizationInputBuilder
impl UnwindSafe for StartDeviceAuthorizationInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)