Struct aws_sdk_appstream::operation::describe_sessions::builders::DescribeSessionsInputBuilder
source · #[non_exhaustive]pub struct DescribeSessionsInputBuilder { /* private fields */ }Expand description
A builder for DescribeSessionsInput.
Implementations§
source§impl DescribeSessionsInputBuilder
impl DescribeSessionsInputBuilder
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. This value is case-sensitive.
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. This value is case-sensitive.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name of the stack. This value is case-sensitive.
sourcepub fn fleet_name(self, input: impl Into<String>) -> Self
pub fn fleet_name(self, input: impl Into<String>) -> Self
The name of the fleet. This value is case-sensitive.
This field is required.sourcepub fn set_fleet_name(self, input: Option<String>) -> Self
pub fn set_fleet_name(self, input: Option<String>) -> Self
The name of the fleet. This value is case-sensitive.
sourcepub fn get_fleet_name(&self) -> &Option<String>
pub fn get_fleet_name(&self) -> &Option<String>
The name of the fleet. This value is case-sensitive.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The size of each page of results. The default value is 20 and the maximum value is 50.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The size of each page of results. The default value is 20 and the maximum value is 50.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
The size of each page of results. The default value is 20 and the maximum value is 50.
sourcepub fn authentication_type(self, input: AuthenticationType) -> Self
pub fn authentication_type(self, input: AuthenticationType) -> Self
The authentication method. Specify API for a user authenticated using a streaming URL or SAML for a SAML federated user. The default is to authenticate users using a streaming URL.
sourcepub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
pub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
The authentication method. Specify API for a user authenticated using a streaming URL or SAML for a SAML federated user. The default is to authenticate users using a streaming URL.
sourcepub fn get_authentication_type(&self) -> &Option<AuthenticationType>
pub fn get_authentication_type(&self) -> &Option<AuthenticationType>
The authentication method. Specify API for a user authenticated using a streaming URL or SAML for a SAML federated user. The default is to authenticate users using a streaming URL.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier for the instance hosting the session.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier for the instance hosting the session.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier for the instance hosting the session.
sourcepub fn build(self) -> Result<DescribeSessionsInput, BuildError>
pub fn build(self) -> Result<DescribeSessionsInput, BuildError>
Consumes the builder and constructs a DescribeSessionsInput.
source§impl DescribeSessionsInputBuilder
impl DescribeSessionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeSessionsOutput, SdkError<DescribeSessionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeSessionsOutput, SdkError<DescribeSessionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeSessionsInputBuilder
impl Clone for DescribeSessionsInputBuilder
source§fn clone(&self) -> DescribeSessionsInputBuilder
fn clone(&self) -> DescribeSessionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeSessionsInputBuilder
impl Debug for DescribeSessionsInputBuilder
source§impl Default for DescribeSessionsInputBuilder
impl Default for DescribeSessionsInputBuilder
source§fn default() -> DescribeSessionsInputBuilder
fn default() -> DescribeSessionsInputBuilder
source§impl PartialEq for DescribeSessionsInputBuilder
impl PartialEq for DescribeSessionsInputBuilder
source§fn eq(&self, other: &DescribeSessionsInputBuilder) -> bool
fn eq(&self, other: &DescribeSessionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.