Struct aws_sdk_sagemaker::operation::list_image_versions::builders::ListImageVersionsInputBuilder
source · #[non_exhaustive]pub struct ListImageVersionsInputBuilder { /* private fields */ }
Expand description
A builder for ListImageVersionsInput
.
Implementations§
source§impl ListImageVersionsInputBuilder
impl ListImageVersionsInputBuilder
sourcepub fn creation_time_after(self, input: DateTime) -> Self
pub fn creation_time_after(self, input: DateTime) -> Self
A filter that returns only versions created on or after the specified time.
sourcepub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
A filter that returns only versions created on or after the specified time.
sourcepub fn get_creation_time_after(&self) -> &Option<DateTime>
pub fn get_creation_time_after(&self) -> &Option<DateTime>
A filter that returns only versions created on or after the specified time.
sourcepub fn creation_time_before(self, input: DateTime) -> Self
pub fn creation_time_before(self, input: DateTime) -> Self
A filter that returns only versions created on or before the specified time.
sourcepub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
A filter that returns only versions created on or before the specified time.
sourcepub fn get_creation_time_before(&self) -> &Option<DateTime>
pub fn get_creation_time_before(&self) -> &Option<DateTime>
A filter that returns only versions created on or before the specified time.
sourcepub fn image_name(self, input: impl Into<String>) -> Self
pub fn image_name(self, input: impl Into<String>) -> Self
The name of the image to list the versions of.
This field is required.sourcepub fn set_image_name(self, input: Option<String>) -> Self
pub fn set_image_name(self, input: Option<String>) -> Self
The name of the image to list the versions of.
sourcepub fn get_image_name(&self) -> &Option<String>
pub fn get_image_name(&self) -> &Option<String>
The name of the image to list the versions of.
sourcepub fn last_modified_time_after(self, input: DateTime) -> Self
pub fn last_modified_time_after(self, input: DateTime) -> Self
A filter that returns only versions modified on or after the specified time.
sourcepub fn set_last_modified_time_after(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time_after(self, input: Option<DateTime>) -> Self
A filter that returns only versions modified on or after the specified time.
sourcepub fn get_last_modified_time_after(&self) -> &Option<DateTime>
pub fn get_last_modified_time_after(&self) -> &Option<DateTime>
A filter that returns only versions modified on or after the specified time.
sourcepub fn last_modified_time_before(self, input: DateTime) -> Self
pub fn last_modified_time_before(self, input: DateTime) -> Self
A filter that returns only versions modified on or before the specified time.
sourcepub fn set_last_modified_time_before(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time_before(self, input: Option<DateTime>) -> Self
A filter that returns only versions modified on or before the specified time.
sourcepub fn get_last_modified_time_before(&self) -> &Option<DateTime>
pub fn get_last_modified_time_before(&self) -> &Option<DateTime>
A filter that returns only versions modified on or before the specified time.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of versions to return in the response. The default value is 10.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of versions to return in the response. The default value is 10.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of versions to return in the response. The default value is 10.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous call to ListImageVersions
didn't return the full set of versions, the call returns a token for getting the next set of versions.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous call to ListImageVersions
didn't return the full set of versions, the call returns a token for getting the next set of versions.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous call to ListImageVersions
didn't return the full set of versions, the call returns a token for getting the next set of versions.
sourcepub fn sort_by(self, input: ImageVersionSortBy) -> Self
pub fn sort_by(self, input: ImageVersionSortBy) -> Self
The property used to sort results. The default value is CREATION_TIME
.
sourcepub fn set_sort_by(self, input: Option<ImageVersionSortBy>) -> Self
pub fn set_sort_by(self, input: Option<ImageVersionSortBy>) -> Self
The property used to sort results. The default value is CREATION_TIME
.
sourcepub fn get_sort_by(&self) -> &Option<ImageVersionSortBy>
pub fn get_sort_by(&self) -> &Option<ImageVersionSortBy>
The property used to sort results. The default value is CREATION_TIME
.
sourcepub fn sort_order(self, input: ImageVersionSortOrder) -> Self
pub fn sort_order(self, input: ImageVersionSortOrder) -> Self
The sort order. The default value is DESCENDING
.
sourcepub fn set_sort_order(self, input: Option<ImageVersionSortOrder>) -> Self
pub fn set_sort_order(self, input: Option<ImageVersionSortOrder>) -> Self
The sort order. The default value is DESCENDING
.
sourcepub fn get_sort_order(&self) -> &Option<ImageVersionSortOrder>
pub fn get_sort_order(&self) -> &Option<ImageVersionSortOrder>
The sort order. The default value is DESCENDING
.
sourcepub fn build(self) -> Result<ListImageVersionsInput, BuildError>
pub fn build(self) -> Result<ListImageVersionsInput, BuildError>
Consumes the builder and constructs a ListImageVersionsInput
.
source§impl ListImageVersionsInputBuilder
impl ListImageVersionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListImageVersionsOutput, SdkError<ListImageVersionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListImageVersionsOutput, SdkError<ListImageVersionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListImageVersionsInputBuilder
impl Clone for ListImageVersionsInputBuilder
source§fn clone(&self) -> ListImageVersionsInputBuilder
fn clone(&self) -> ListImageVersionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListImageVersionsInputBuilder
impl Default for ListImageVersionsInputBuilder
source§fn default() -> ListImageVersionsInputBuilder
fn default() -> ListImageVersionsInputBuilder
source§impl PartialEq for ListImageVersionsInputBuilder
impl PartialEq for ListImageVersionsInputBuilder
source§fn eq(&self, other: &ListImageVersionsInputBuilder) -> bool
fn eq(&self, other: &ListImageVersionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListImageVersionsInputBuilder
Auto Trait Implementations§
impl Freeze for ListImageVersionsInputBuilder
impl RefUnwindSafe for ListImageVersionsInputBuilder
impl Send for ListImageVersionsInputBuilder
impl Sync for ListImageVersionsInputBuilder
impl Unpin for ListImageVersionsInputBuilder
impl UnwindSafe for ListImageVersionsInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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