Struct aws_sdk_codecatalyst::operation::list_dev_environment_sessions::builders::ListDevEnvironmentSessionsFluentBuilder
source · pub struct ListDevEnvironmentSessionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListDevEnvironmentSessions
.
Retrieves a list of active sessions for a Dev Environment in a project.
Implementations§
source§impl ListDevEnvironmentSessionsFluentBuilder
impl ListDevEnvironmentSessionsFluentBuilder
sourcepub fn as_input(&self) -> &ListDevEnvironmentSessionsInputBuilder
pub fn as_input(&self) -> &ListDevEnvironmentSessionsInputBuilder
Access the ListDevEnvironmentSessions as a reference.
sourcepub async fn send(
self
) -> Result<ListDevEnvironmentSessionsOutput, SdkError<ListDevEnvironmentSessionsError, HttpResponse>>
pub async fn send( self ) -> Result<ListDevEnvironmentSessionsOutput, SdkError<ListDevEnvironmentSessionsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListDevEnvironmentSessionsOutput, ListDevEnvironmentSessionsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListDevEnvironmentSessionsOutput, ListDevEnvironmentSessionsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListDevEnvironmentSessionsPaginator
pub fn into_paginator(self) -> ListDevEnvironmentSessionsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn space_name(self, input: impl Into<String>) -> Self
pub fn space_name(self, input: impl Into<String>) -> Self
The name of the space.
sourcepub fn set_space_name(self, input: Option<String>) -> Self
pub fn set_space_name(self, input: Option<String>) -> Self
The name of the space.
sourcepub fn get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
The name of the space.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project in the space.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project in the space.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project in the space.
sourcepub fn dev_environment_id(self, input: impl Into<String>) -> Self
pub fn dev_environment_id(self, input: impl Into<String>) -> Self
The system-generated unique ID of the Dev Environment.
sourcepub fn set_dev_environment_id(self, input: Option<String>) -> Self
pub fn set_dev_environment_id(self, input: Option<String>) -> Self
The system-generated unique ID of the Dev Environment.
sourcepub fn get_dev_environment_id(&self) -> &Option<String>
pub fn get_dev_environment_id(&self) -> &Option<String>
The system-generated unique ID of the Dev Environment.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken
element, which you can use to obtain additional results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken
element, which you can use to obtain additional results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken
element, which you can use to obtain additional results.
Trait Implementations§
source§impl Clone for ListDevEnvironmentSessionsFluentBuilder
impl Clone for ListDevEnvironmentSessionsFluentBuilder
source§fn clone(&self) -> ListDevEnvironmentSessionsFluentBuilder
fn clone(&self) -> ListDevEnvironmentSessionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more