#[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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)