pub struct Builder { /* private fields */ }
Expand description
A builder for StartDeviceAuthorizationInput
.
Implementations
sourceimpl Builder
impl Builder
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 Amazon Web Services SSO. 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 Amazon Web Services SSO. 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 start_url(self, input: impl Into<String>) -> Self
pub fn start_url(self, input: impl Into<String>) -> Self
The URL for the AWS access portal. For more information, see Using the AWS access portal in the Amazon Web Services SSO User Guide.
sourcepub fn set_start_url(self, input: Option<String>) -> Self
pub fn set_start_url(self, input: Option<String>) -> Self
The URL for the AWS access portal. For more information, see Using the AWS access portal in the Amazon Web Services SSO User Guide.
sourcepub fn build(self) -> Result<StartDeviceAuthorizationInput, BuildError>
pub fn build(self) -> Result<StartDeviceAuthorizationInput, BuildError>
Consumes the builder and constructs a StartDeviceAuthorizationInput
.