Struct aws_sdk_rekognition::operation::describe_project_versions::builders::DescribeProjectVersionsInputBuilder
source · #[non_exhaustive]pub struct DescribeProjectVersionsInputBuilder { /* private fields */ }Expand description
A builder for DescribeProjectVersionsInput.
Implementations§
source§impl DescribeProjectVersionsInputBuilder
impl DescribeProjectVersionsInputBuilder
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
This field is required.sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
sourcepub fn get_project_arn(&self) -> &Option<String>
pub fn get_project_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
sourcepub fn version_names(self, input: impl Into<String>) -> Self
pub fn version_names(self, input: impl Into<String>) -> Self
Appends an item to version_names.
To override the contents of this collection use set_version_names.
A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, my-model.2020-01-21T09.10.15 is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123.
sourcepub fn set_version_names(self, input: Option<Vec<String>>) -> Self
pub fn set_version_names(self, input: Option<Vec<String>>) -> Self
A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, my-model.2020-01-21T09.10.15 is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123.
sourcepub fn get_version_names(&self) -> &Option<Vec<String>>
pub fn get_version_names(&self) -> &Option<Vec<String>>
A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, my-model.2020-01-21T09.10.15 is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
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 return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
sourcepub fn build(self) -> Result<DescribeProjectVersionsInput, BuildError>
pub fn build(self) -> Result<DescribeProjectVersionsInput, BuildError>
Consumes the builder and constructs a DescribeProjectVersionsInput.
source§impl DescribeProjectVersionsInputBuilder
impl DescribeProjectVersionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeProjectVersionsOutput, SdkError<DescribeProjectVersionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeProjectVersionsOutput, SdkError<DescribeProjectVersionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeProjectVersionsInputBuilder
impl Clone for DescribeProjectVersionsInputBuilder
source§fn clone(&self) -> DescribeProjectVersionsInputBuilder
fn clone(&self) -> DescribeProjectVersionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeProjectVersionsInputBuilder
impl Default for DescribeProjectVersionsInputBuilder
source§fn default() -> DescribeProjectVersionsInputBuilder
fn default() -> DescribeProjectVersionsInputBuilder
source§impl PartialEq for DescribeProjectVersionsInputBuilder
impl PartialEq for DescribeProjectVersionsInputBuilder
source§fn eq(&self, other: &DescribeProjectVersionsInputBuilder) -> bool
fn eq(&self, other: &DescribeProjectVersionsInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeProjectVersionsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeProjectVersionsInputBuilder
impl RefUnwindSafe for DescribeProjectVersionsInputBuilder
impl Send for DescribeProjectVersionsInputBuilder
impl Sync for DescribeProjectVersionsInputBuilder
impl Unpin for DescribeProjectVersionsInputBuilder
impl UnwindSafe for DescribeProjectVersionsInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more