#[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
impl StructuralPartialEq for RegisterClientInputBuilder
Auto Trait Implementations§
impl Freeze for RegisterClientInputBuilder
impl RefUnwindSafe for RegisterClientInputBuilder
impl Send for RegisterClientInputBuilder
impl Sync for RegisterClientInputBuilder
impl Unpin for RegisterClientInputBuilder
impl UnwindSafe for RegisterClientInputBuilder
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
)