Struct aws_sdk_cognitoidentityprovider::operation::update_resource_server::builders::UpdateResourceServerInputBuilder
source · #[non_exhaustive]pub struct UpdateResourceServerInputBuilder { /* private fields */ }Expand description
A builder for UpdateResourceServerInput.
Implementations§
source§impl UpdateResourceServerInputBuilder
impl UpdateResourceServerInputBuilder
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.
This field is required.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.
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.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier for the resource server.
This field is required.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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the resource server.
This field is required.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.
The scope values to be set for the resource server.
sourcepub fn set_scopes(self, input: Option<Vec<ResourceServerScopeType>>) -> Self
pub fn set_scopes(self, input: Option<Vec<ResourceServerScopeType>>) -> Self
The scope values to be set for the resource server.
sourcepub fn get_scopes(&self) -> &Option<Vec<ResourceServerScopeType>>
pub fn get_scopes(&self) -> &Option<Vec<ResourceServerScopeType>>
The scope values to be set for the resource server.
sourcepub fn build(self) -> Result<UpdateResourceServerInput, BuildError>
pub fn build(self) -> Result<UpdateResourceServerInput, BuildError>
Consumes the builder and constructs a UpdateResourceServerInput.
source§impl UpdateResourceServerInputBuilder
impl UpdateResourceServerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateResourceServerOutput, SdkError<UpdateResourceServerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateResourceServerOutput, SdkError<UpdateResourceServerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateResourceServerInputBuilder
impl Clone for UpdateResourceServerInputBuilder
source§fn clone(&self) -> UpdateResourceServerInputBuilder
fn clone(&self) -> UpdateResourceServerInputBuilder
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 Default for UpdateResourceServerInputBuilder
impl Default for UpdateResourceServerInputBuilder
source§fn default() -> UpdateResourceServerInputBuilder
fn default() -> UpdateResourceServerInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateResourceServerInputBuilder
impl PartialEq for UpdateResourceServerInputBuilder
source§fn eq(&self, other: &UpdateResourceServerInputBuilder) -> bool
fn eq(&self, other: &UpdateResourceServerInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateResourceServerInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateResourceServerInputBuilder
impl Send for UpdateResourceServerInputBuilder
impl Sync for UpdateResourceServerInputBuilder
impl Unpin for UpdateResourceServerInputBuilder
impl UnwindSafe for UpdateResourceServerInputBuilder
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.