Struct aws_sdk_rekognition::operation::create_collection::builders::CreateCollectionOutputBuilder
source · #[non_exhaustive]pub struct CreateCollectionOutputBuilder { /* private fields */ }Expand description
A builder for CreateCollectionOutput.
Implementations§
source§impl CreateCollectionOutputBuilder
impl CreateCollectionOutputBuilder
sourcepub fn status_code(self, input: i32) -> Self
pub fn status_code(self, input: i32) -> Self
HTTP status code indicating the result of the operation.
sourcepub fn set_status_code(self, input: Option<i32>) -> Self
pub fn set_status_code(self, input: Option<i32>) -> Self
HTTP status code indicating the result of the operation.
sourcepub fn get_status_code(&self) -> &Option<i32>
pub fn get_status_code(&self) -> &Option<i32>
HTTP status code indicating the result of the operation.
sourcepub fn collection_arn(self, input: impl Into<String>) -> Self
pub fn collection_arn(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
sourcepub fn set_collection_arn(self, input: Option<String>) -> Self
pub fn set_collection_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
sourcepub fn get_collection_arn(&self) -> &Option<String>
pub fn get_collection_arn(&self) -> &Option<String>
Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
sourcepub fn face_model_version(self, input: impl Into<String>) -> Self
pub fn face_model_version(self, input: impl Into<String>) -> Self
Version number of the face detection model associated with the collection you are creating.
sourcepub fn set_face_model_version(self, input: Option<String>) -> Self
pub fn set_face_model_version(self, input: Option<String>) -> Self
Version number of the face detection model associated with the collection you are creating.
sourcepub fn get_face_model_version(&self) -> &Option<String>
pub fn get_face_model_version(&self) -> &Option<String>
Version number of the face detection model associated with the collection you are creating.
sourcepub fn build(self) -> CreateCollectionOutput
pub fn build(self) -> CreateCollectionOutput
Consumes the builder and constructs a CreateCollectionOutput.
Trait Implementations§
source§impl Clone for CreateCollectionOutputBuilder
impl Clone for CreateCollectionOutputBuilder
source§fn clone(&self) -> CreateCollectionOutputBuilder
fn clone(&self) -> CreateCollectionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateCollectionOutputBuilder
impl Default for CreateCollectionOutputBuilder
source§fn default() -> CreateCollectionOutputBuilder
fn default() -> CreateCollectionOutputBuilder
source§impl PartialEq for CreateCollectionOutputBuilder
impl PartialEq for CreateCollectionOutputBuilder
source§fn eq(&self, other: &CreateCollectionOutputBuilder) -> bool
fn eq(&self, other: &CreateCollectionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.