Struct aws_sdk_appfabric::types::builders::Oauth2CredentialBuilder
source · #[non_exhaustive]pub struct Oauth2CredentialBuilder { /* private fields */ }
Expand description
A builder for Oauth2Credential
.
Implementations§
source§impl Oauth2CredentialBuilder
impl Oauth2CredentialBuilder
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
The client ID of the client application.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
The client ID of the client application.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
The client ID of the client application.
sourcepub fn client_secret(self, input: impl Into<String>) -> Self
pub fn client_secret(self, input: impl Into<String>) -> Self
The client secret of the client application.
sourcepub fn set_client_secret(self, input: Option<String>) -> Self
pub fn set_client_secret(self, input: Option<String>) -> Self
The client secret of the client application.
sourcepub fn get_client_secret(&self) -> &Option<String>
pub fn get_client_secret(&self) -> &Option<String>
The client secret of the client application.
sourcepub fn build(self) -> Oauth2Credential
pub fn build(self) -> Oauth2Credential
Consumes the builder and constructs a Oauth2Credential
.
Trait Implementations§
source§impl Clone for Oauth2CredentialBuilder
impl Clone for Oauth2CredentialBuilder
source§fn clone(&self) -> Oauth2CredentialBuilder
fn clone(&self) -> Oauth2CredentialBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Oauth2CredentialBuilder
impl Debug for Oauth2CredentialBuilder
source§impl Default for Oauth2CredentialBuilder
impl Default for Oauth2CredentialBuilder
source§fn default() -> Oauth2CredentialBuilder
fn default() -> Oauth2CredentialBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<Oauth2CredentialBuilder> for Oauth2CredentialBuilder
impl PartialEq<Oauth2CredentialBuilder> for Oauth2CredentialBuilder
source§fn eq(&self, other: &Oauth2CredentialBuilder) -> bool
fn eq(&self, other: &Oauth2CredentialBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Oauth2CredentialBuilder
Auto Trait Implementations§
impl RefUnwindSafe for Oauth2CredentialBuilder
impl Send for Oauth2CredentialBuilder
impl Sync for Oauth2CredentialBuilder
impl Unpin for Oauth2CredentialBuilder
impl UnwindSafe for Oauth2CredentialBuilder
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
Mutably borrows from an owned value. Read more