Struct aws_sdk_sagemaker::input::list_aliases_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListAliasesInput
.
Implementations§
source§impl Builder
impl Builder
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 version(self, input: i32) -> Self
pub fn version(self, input: i32) -> Self
The version of the image. If image version is not specified, the aliases of all versions of the image are listed.
sourcepub fn set_version(self, input: Option<i32>) -> Self
pub fn set_version(self, input: Option<i32>) -> Self
The version of the image. If image version is not specified, the aliases of all versions of the image are listed.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of aliases 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 aliases to return.
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 ListAliases
didn't return the full set of aliases, the call returns a token for retrieving the next set of aliases.
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 ListAliases
didn't return the full set of aliases, the call returns a token for retrieving the next set of aliases.
sourcepub fn build(self) -> Result<ListAliasesInput, BuildError>
pub fn build(self) -> Result<ListAliasesInput, BuildError>
Consumes the builder and constructs a ListAliasesInput
.