#[non_exhaustive]pub struct RegisterClientInputBuilder { /* private fields */ }Expand description
A builder for RegisterClientInput.
Implementations§
source§impl RegisterClientInputBuilder
impl RegisterClientInputBuilder
sourcepub fn client_name(self, input: impl Into<String>) -> Self
pub fn client_name(self, input: impl Into<String>) -> Self
The friendly name of the client.
This field is required.sourcepub fn set_client_name(self, input: Option<String>) -> Self
pub fn set_client_name(self, input: Option<String>) -> Self
The friendly name of the client.
sourcepub fn get_client_name(&self) -> &Option<String>
pub fn get_client_name(&self) -> &Option<String>
The friendly name of the client.
sourcepub fn client_type(self, input: impl Into<String>) -> Self
pub fn client_type(self, input: impl Into<String>) -> Self
The type of client. The service supports only public as a client type. Anything other than public will be rejected by the service.
sourcepub fn set_client_type(self, input: Option<String>) -> Self
pub fn set_client_type(self, input: Option<String>) -> Self
The type of client. The service supports only public as a client type. Anything other than public will be rejected by the service.
sourcepub fn get_client_type(&self) -> &Option<String>
pub fn get_client_type(&self) -> &Option<String>
The type of client. The service supports only public as a client type. Anything other than public will be rejected by the service.
sourcepub fn scopes(self, input: impl Into<String>) -> Self
pub fn scopes(self, input: impl Into<String>) -> Self
Appends an item to scopes.
To override the contents of this collection use set_scopes.
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
sourcepub fn set_scopes(self, input: Option<Vec<String>>) -> Self
pub fn set_scopes(self, input: Option<Vec<String>>) -> Self
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
sourcepub fn get_scopes(&self) -> &Option<Vec<String>>
pub fn get_scopes(&self) -> &Option<Vec<String>>
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
sourcepub fn build(self) -> Result<RegisterClientInput, BuildError>
pub fn build(self) -> Result<RegisterClientInput, BuildError>
Consumes the builder and constructs a RegisterClientInput.
source§impl RegisterClientInputBuilder
impl RegisterClientInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RegisterClientOutput, SdkError<RegisterClientError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RegisterClientOutput, SdkError<RegisterClientError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RegisterClientInputBuilder
impl Clone for RegisterClientInputBuilder
source§fn clone(&self) -> RegisterClientInputBuilder
fn clone(&self) -> RegisterClientInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RegisterClientInputBuilder
impl Debug for RegisterClientInputBuilder
source§impl Default for RegisterClientInputBuilder
impl Default for RegisterClientInputBuilder
source§fn default() -> RegisterClientInputBuilder
fn default() -> RegisterClientInputBuilder
source§impl PartialEq for RegisterClientInputBuilder
impl PartialEq for RegisterClientInputBuilder
source§fn eq(&self, other: &RegisterClientInputBuilder) -> bool
fn eq(&self, other: &RegisterClientInputBuilder) -> bool
self and other values to be equal, and is used
by ==.