#[non_exhaustive]pub struct ResourceServerTypeBuilder { /* private fields */ }Expand description
A builder for ResourceServerType.
Implementations§
source§impl ResourceServerTypeBuilder
impl ResourceServerTypeBuilder
sourcepub fn user_pool_id(self, input: impl Into<String>) -> Self
pub fn user_pool_id(self, input: impl Into<String>) -> Self
The user pool ID for the user pool that hosts the resource server.
sourcepub fn set_user_pool_id(self, input: Option<String>) -> Self
pub fn set_user_pool_id(self, input: Option<String>) -> Self
The user pool ID for the user pool that hosts the resource server.
sourcepub fn get_user_pool_id(&self) -> &Option<String>
pub fn get_user_pool_id(&self) -> &Option<String>
The user pool ID for the user pool that hosts the resource server.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier for the resource server.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier for the resource server.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier for the resource server.
sourcepub fn scopes(self, input: ResourceServerScopeType) -> Self
pub fn scopes(self, input: ResourceServerScopeType) -> Self
Appends an item to scopes.
To override the contents of this collection use set_scopes.
A list of scopes that are defined for the resource server.
sourcepub fn set_scopes(self, input: Option<Vec<ResourceServerScopeType>>) -> Self
pub fn set_scopes(self, input: Option<Vec<ResourceServerScopeType>>) -> Self
A list of scopes that are defined for the resource server.
sourcepub fn get_scopes(&self) -> &Option<Vec<ResourceServerScopeType>>
pub fn get_scopes(&self) -> &Option<Vec<ResourceServerScopeType>>
A list of scopes that are defined for the resource server.
sourcepub fn build(self) -> ResourceServerType
pub fn build(self) -> ResourceServerType
Consumes the builder and constructs a ResourceServerType.
Trait Implementations§
source§impl Clone for ResourceServerTypeBuilder
impl Clone for ResourceServerTypeBuilder
source§fn clone(&self) -> ResourceServerTypeBuilder
fn clone(&self) -> ResourceServerTypeBuilder
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 ResourceServerTypeBuilder
impl Debug for ResourceServerTypeBuilder
source§impl Default for ResourceServerTypeBuilder
impl Default for ResourceServerTypeBuilder
source§fn default() -> ResourceServerTypeBuilder
fn default() -> ResourceServerTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResourceServerTypeBuilder
impl PartialEq for ResourceServerTypeBuilder
source§fn eq(&self, other: &ResourceServerTypeBuilder) -> bool
fn eq(&self, other: &ResourceServerTypeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResourceServerTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ResourceServerTypeBuilder
impl Send for ResourceServerTypeBuilder
impl Sync for ResourceServerTypeBuilder
impl Unpin for ResourceServerTypeBuilder
impl UnwindSafe for ResourceServerTypeBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.