Struct aws_sdk_ssooidc::operation::start_device_authorization::builders::StartDeviceAuthorizationOutputBuilder
source · #[non_exhaustive]pub struct StartDeviceAuthorizationOutputBuilder { /* private fields */ }
Expand description
A builder for StartDeviceAuthorizationOutput
.
Implementations§
source§impl StartDeviceAuthorizationOutputBuilder
impl StartDeviceAuthorizationOutputBuilder
sourcepub fn device_code(self, input: impl Into<String>) -> Self
pub fn device_code(self, input: impl Into<String>) -> Self
The short-lived code that is used by the device when polling for a session token.
sourcepub fn set_device_code(self, input: Option<String>) -> Self
pub fn set_device_code(self, input: Option<String>) -> Self
The short-lived code that is used by the device when polling for a session token.
sourcepub fn get_device_code(&self) -> &Option<String>
pub fn get_device_code(&self) -> &Option<String>
The short-lived code that is used by the device when polling for a session token.
sourcepub fn user_code(self, input: impl Into<String>) -> Self
pub fn user_code(self, input: impl Into<String>) -> Self
A one-time user verification code. This is needed to authorize an in-use device.
sourcepub fn set_user_code(self, input: Option<String>) -> Self
pub fn set_user_code(self, input: Option<String>) -> Self
A one-time user verification code. This is needed to authorize an in-use device.
sourcepub fn get_user_code(&self) -> &Option<String>
pub fn get_user_code(&self) -> &Option<String>
A one-time user verification code. This is needed to authorize an in-use device.
sourcepub fn verification_uri(self, input: impl Into<String>) -> Self
pub fn verification_uri(self, input: impl Into<String>) -> Self
The URI of the verification page that takes the userCode
to authorize the device.
sourcepub fn set_verification_uri(self, input: Option<String>) -> Self
pub fn set_verification_uri(self, input: Option<String>) -> Self
The URI of the verification page that takes the userCode
to authorize the device.
sourcepub fn get_verification_uri(&self) -> &Option<String>
pub fn get_verification_uri(&self) -> &Option<String>
The URI of the verification page that takes the userCode
to authorize the device.
sourcepub fn verification_uri_complete(self, input: impl Into<String>) -> Self
pub fn verification_uri_complete(self, input: impl Into<String>) -> Self
An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.
sourcepub fn set_verification_uri_complete(self, input: Option<String>) -> Self
pub fn set_verification_uri_complete(self, input: Option<String>) -> Self
An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.
sourcepub fn get_verification_uri_complete(&self) -> &Option<String>
pub fn get_verification_uri_complete(&self) -> &Option<String>
An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.
sourcepub fn expires_in(self, input: i32) -> Self
pub fn expires_in(self, input: i32) -> Self
Indicates the number of seconds in which the verification code will become invalid.
sourcepub fn set_expires_in(self, input: Option<i32>) -> Self
pub fn set_expires_in(self, input: Option<i32>) -> Self
Indicates the number of seconds in which the verification code will become invalid.
sourcepub fn get_expires_in(&self) -> &Option<i32>
pub fn get_expires_in(&self) -> &Option<i32>
Indicates the number of seconds in which the verification code will become invalid.
sourcepub fn interval(self, input: i32) -> Self
pub fn interval(self, input: i32) -> Self
Indicates the number of seconds the client must wait between attempts when polling for a session.
sourcepub fn set_interval(self, input: Option<i32>) -> Self
pub fn set_interval(self, input: Option<i32>) -> Self
Indicates the number of seconds the client must wait between attempts when polling for a session.
sourcepub fn get_interval(&self) -> &Option<i32>
pub fn get_interval(&self) -> &Option<i32>
Indicates the number of seconds the client must wait between attempts when polling for a session.
sourcepub fn build(self) -> StartDeviceAuthorizationOutput
pub fn build(self) -> StartDeviceAuthorizationOutput
Consumes the builder and constructs a StartDeviceAuthorizationOutput
.
Trait Implementations§
source§impl Clone for StartDeviceAuthorizationOutputBuilder
impl Clone for StartDeviceAuthorizationOutputBuilder
source§fn clone(&self) -> StartDeviceAuthorizationOutputBuilder
fn clone(&self) -> StartDeviceAuthorizationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartDeviceAuthorizationOutputBuilder
impl Default for StartDeviceAuthorizationOutputBuilder
source§fn default() -> StartDeviceAuthorizationOutputBuilder
fn default() -> StartDeviceAuthorizationOutputBuilder
source§impl PartialEq for StartDeviceAuthorizationOutputBuilder
impl PartialEq for StartDeviceAuthorizationOutputBuilder
source§fn eq(&self, other: &StartDeviceAuthorizationOutputBuilder) -> bool
fn eq(&self, other: &StartDeviceAuthorizationOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StartDeviceAuthorizationOutputBuilder
Auto Trait Implementations§
impl Freeze for StartDeviceAuthorizationOutputBuilder
impl RefUnwindSafe for StartDeviceAuthorizationOutputBuilder
impl Send for StartDeviceAuthorizationOutputBuilder
impl Sync for StartDeviceAuthorizationOutputBuilder
impl Unpin for StartDeviceAuthorizationOutputBuilder
impl UnwindSafe for StartDeviceAuthorizationOutputBuilder
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
)