Struct aws_sdk_sagemaker::operation::describe_image_version::builders::DescribeImageVersionFluentBuilder
source · pub struct DescribeImageVersionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeImageVersion
.
Describes a version of a SageMaker image.
Implementations§
source§impl DescribeImageVersionFluentBuilder
impl DescribeImageVersionFluentBuilder
sourcepub fn as_input(&self) -> &DescribeImageVersionInputBuilder
pub fn as_input(&self) -> &DescribeImageVersionInputBuilder
Access the DescribeImageVersion as a reference.
sourcepub async fn send(
self
) -> Result<DescribeImageVersionOutput, SdkError<DescribeImageVersionError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeImageVersionOutput, SdkError<DescribeImageVersionError, 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<DescribeImageVersionOutput, DescribeImageVersionError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeImageVersionOutput, DescribeImageVersionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
sourcepub fn get_image_name(&self) -> &Option<String>
pub fn get_image_name(&self) -> &Option<String>
The name of the image.
sourcepub fn version(self, input: i32) -> Self
pub fn version(self, input: i32) -> Self
The version of the image. If not specified, the latest version is described.
sourcepub fn set_version(self, input: Option<i32>) -> Self
pub fn set_version(self, input: Option<i32>) -> Self
The version of the image. If not specified, the latest version is described.
sourcepub fn get_version(&self) -> &Option<i32>
pub fn get_version(&self) -> &Option<i32>
The version of the image. If not specified, the latest version is described.
Trait Implementations§
source§impl Clone for DescribeImageVersionFluentBuilder
impl Clone for DescribeImageVersionFluentBuilder
source§fn clone(&self) -> DescribeImageVersionFluentBuilder
fn clone(&self) -> DescribeImageVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more