Struct aws_sdk_appstream::operation::describe_entitlements::builders::DescribeEntitlementsInputBuilder
source · #[non_exhaustive]pub struct DescribeEntitlementsInputBuilder { /* private fields */ }Expand description
A builder for DescribeEntitlementsInput.
Implementations§
source§impl DescribeEntitlementsInputBuilder
impl DescribeEntitlementsInputBuilder
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name of the stack with which the entitlement is associated.
This field is required.sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name of the stack with which the entitlement is associated.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name of the stack with which the entitlement is associated.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token used to retrieve the next page of results for this operation.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token used to retrieve the next page of results for this operation.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token used to retrieve the next page of results for this operation.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum size of each page of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum size of each page of results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum size of each page of results.
sourcepub fn build(self) -> Result<DescribeEntitlementsInput, BuildError>
pub fn build(self) -> Result<DescribeEntitlementsInput, BuildError>
Consumes the builder and constructs a DescribeEntitlementsInput.
source§impl DescribeEntitlementsInputBuilder
impl DescribeEntitlementsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeEntitlementsOutput, SdkError<DescribeEntitlementsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeEntitlementsOutput, SdkError<DescribeEntitlementsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeEntitlementsInputBuilder
impl Clone for DescribeEntitlementsInputBuilder
source§fn clone(&self) -> DescribeEntitlementsInputBuilder
fn clone(&self) -> DescribeEntitlementsInputBuilder
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 DescribeEntitlementsInputBuilder
impl Default for DescribeEntitlementsInputBuilder
source§fn default() -> DescribeEntitlementsInputBuilder
fn default() -> DescribeEntitlementsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeEntitlementsInputBuilder
impl PartialEq for DescribeEntitlementsInputBuilder
source§fn eq(&self, other: &DescribeEntitlementsInputBuilder) -> bool
fn eq(&self, other: &DescribeEntitlementsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeEntitlementsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeEntitlementsInputBuilder
impl Send for DescribeEntitlementsInputBuilder
impl Sync for DescribeEntitlementsInputBuilder
impl Unpin for DescribeEntitlementsInputBuilder
impl UnwindSafe for DescribeEntitlementsInputBuilder
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.