Struct aws_sdk_iotthingsgraph::operation::get_upload_status::builders::GetUploadStatusOutputBuilder
source · #[non_exhaustive]pub struct GetUploadStatusOutputBuilder { /* private fields */ }Expand description
A builder for GetUploadStatusOutput.
Implementations§
source§impl GetUploadStatusOutputBuilder
impl GetUploadStatusOutputBuilder
sourcepub fn upload_id(self, input: impl Into<String>) -> Self
pub fn upload_id(self, input: impl Into<String>) -> Self
The ID of the upload.
This field is required.sourcepub fn set_upload_id(self, input: Option<String>) -> Self
pub fn set_upload_id(self, input: Option<String>) -> Self
The ID of the upload.
sourcepub fn get_upload_id(&self) -> &Option<String>
pub fn get_upload_id(&self) -> &Option<String>
The ID of the upload.
sourcepub fn upload_status(self, input: UploadStatus) -> Self
pub fn upload_status(self, input: UploadStatus) -> Self
The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.
sourcepub fn set_upload_status(self, input: Option<UploadStatus>) -> Self
pub fn set_upload_status(self, input: Option<UploadStatus>) -> Self
The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.
sourcepub fn get_upload_status(&self) -> &Option<UploadStatus>
pub fn get_upload_status(&self) -> &Option<UploadStatus>
The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.
sourcepub fn namespace_arn(self, input: impl Into<String>) -> Self
pub fn namespace_arn(self, input: impl Into<String>) -> Self
The ARN of the upload.
sourcepub fn set_namespace_arn(self, input: Option<String>) -> Self
pub fn set_namespace_arn(self, input: Option<String>) -> Self
The ARN of the upload.
sourcepub fn get_namespace_arn(&self) -> &Option<String>
pub fn get_namespace_arn(&self) -> &Option<String>
The ARN of the upload.
sourcepub fn namespace_name(self, input: impl Into<String>) -> Self
pub fn namespace_name(self, input: impl Into<String>) -> Self
The name of the upload's namespace.
sourcepub fn set_namespace_name(self, input: Option<String>) -> Self
pub fn set_namespace_name(self, input: Option<String>) -> Self
The name of the upload's namespace.
sourcepub fn get_namespace_name(&self) -> &Option<String>
pub fn get_namespace_name(&self) -> &Option<String>
The name of the upload's namespace.
sourcepub fn namespace_version(self, input: i64) -> Self
pub fn namespace_version(self, input: i64) -> Self
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn set_namespace_version(self, input: Option<i64>) -> Self
pub fn set_namespace_version(self, input: Option<i64>) -> Self
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn get_namespace_version(&self) -> &Option<i64>
pub fn get_namespace_version(&self) -> &Option<i64>
The version of the user's namespace. Defaults to the latest version of the user's namespace.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
Appends an item to failure_reason.
To override the contents of this collection use set_failure_reason.
The reason for an upload failure.
sourcepub fn set_failure_reason(self, input: Option<Vec<String>>) -> Self
pub fn set_failure_reason(self, input: Option<Vec<String>>) -> Self
The reason for an upload failure.
sourcepub fn get_failure_reason(&self) -> &Option<Vec<String>>
pub fn get_failure_reason(&self) -> &Option<Vec<String>>
The reason for an upload failure.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date at which the upload was created.
This field is required.sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date at which the upload was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date at which the upload was created.
sourcepub fn build(self) -> Result<GetUploadStatusOutput, BuildError>
pub fn build(self) -> Result<GetUploadStatusOutput, BuildError>
Consumes the builder and constructs a GetUploadStatusOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetUploadStatusOutputBuilder
impl Clone for GetUploadStatusOutputBuilder
source§fn clone(&self) -> GetUploadStatusOutputBuilder
fn clone(&self) -> GetUploadStatusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetUploadStatusOutputBuilder
impl Debug for GetUploadStatusOutputBuilder
source§impl Default for GetUploadStatusOutputBuilder
impl Default for GetUploadStatusOutputBuilder
source§fn default() -> GetUploadStatusOutputBuilder
fn default() -> GetUploadStatusOutputBuilder
source§impl PartialEq for GetUploadStatusOutputBuilder
impl PartialEq for GetUploadStatusOutputBuilder
source§fn eq(&self, other: &GetUploadStatusOutputBuilder) -> bool
fn eq(&self, other: &GetUploadStatusOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.