Struct aws_sdk_personalize::operation::list_solution_versions::builders::ListSolutionVersionsFluentBuilder
source · pub struct ListSolutionVersionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListSolutionVersions
.
Returns a list of solution versions for the given solution. When a solution is not specified, all the solution versions associated with the account are listed. The response provides the properties for each solution version, including the Amazon Resource Name (ARN).
Implementations§
source§impl ListSolutionVersionsFluentBuilder
impl ListSolutionVersionsFluentBuilder
sourcepub fn as_input(&self) -> &ListSolutionVersionsInputBuilder
pub fn as_input(&self) -> &ListSolutionVersionsInputBuilder
Access the ListSolutionVersions as a reference.
sourcepub async fn send(
self
) -> Result<ListSolutionVersionsOutput, SdkError<ListSolutionVersionsError, HttpResponse>>
pub async fn send( self ) -> Result<ListSolutionVersionsOutput, SdkError<ListSolutionVersionsError, 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<ListSolutionVersionsOutput, ListSolutionVersionsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListSolutionVersionsOutput, ListSolutionVersionsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListSolutionVersionsPaginator
pub fn into_paginator(self) -> ListSolutionVersionsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn solution_arn(self, input: impl Into<String>) -> Self
pub fn solution_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the solution.
sourcepub fn set_solution_arn(self, input: Option<String>) -> Self
pub fn set_solution_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the solution.
sourcepub fn get_solution_arn(&self) -> &Option<String>
pub fn get_solution_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the solution.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token returned from the previous call to ListSolutionVersions
for getting the next set of solution versions (if they exist).
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token returned from the previous call to ListSolutionVersions
for getting the next set of solution versions (if they exist).
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token returned from the previous call to ListSolutionVersions
for getting the next set of solution versions (if they exist).
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of solution versions to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of solution versions to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of solution versions to return.
Trait Implementations§
source§impl Clone for ListSolutionVersionsFluentBuilder
impl Clone for ListSolutionVersionsFluentBuilder
source§fn clone(&self) -> ListSolutionVersionsFluentBuilder
fn clone(&self) -> ListSolutionVersionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more