Struct aws_sdk_cloudcontrol::types::builders::ProgressEventBuilder
source · #[non_exhaustive]pub struct ProgressEventBuilder { /* private fields */ }Expand description
A builder for ProgressEvent.
Implementations§
source§impl ProgressEventBuilder
impl ProgressEventBuilder
sourcepub fn type_name(self, input: impl Into<String>) -> Self
pub fn type_name(self, input: impl Into<String>) -> Self
The name of the resource type used in the operation.
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
The name of the resource type used in the operation.
sourcepub fn get_type_name(&self) -> &Option<String>
pub fn get_type_name(&self) -> &Option<String>
The name of the resource type used in the operation.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The primary identifier for the resource.
In some cases, the resource identifier may be available before the resource operation has reached a status of SUCCESS.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The primary identifier for the resource.
In some cases, the resource identifier may be available before the resource operation has reached a status of SUCCESS.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The primary identifier for the resource.
In some cases, the resource identifier may be available before the resource operation has reached a status of SUCCESS.
sourcepub fn request_token(self, input: impl Into<String>) -> Self
pub fn request_token(self, input: impl Into<String>) -> Self
The unique token representing this resource operation request.
Use the RequestToken with GetResourceRequestStatus to return the current status of a resource operation request.
sourcepub fn set_request_token(self, input: Option<String>) -> Self
pub fn set_request_token(self, input: Option<String>) -> Self
The unique token representing this resource operation request.
Use the RequestToken with GetResourceRequestStatus to return the current status of a resource operation request.
sourcepub fn get_request_token(&self) -> &Option<String>
pub fn get_request_token(&self) -> &Option<String>
The unique token representing this resource operation request.
Use the RequestToken with GetResourceRequestStatus to return the current status of a resource operation request.
sourcepub fn set_operation(self, input: Option<Operation>) -> Self
pub fn set_operation(self, input: Option<Operation>) -> Self
The resource operation type.
sourcepub fn get_operation(&self) -> &Option<Operation>
pub fn get_operation(&self) -> &Option<Operation>
The resource operation type.
sourcepub fn operation_status(self, input: OperationStatus) -> Self
pub fn operation_status(self, input: OperationStatus) -> Self
The current status of the resource operation request.
-
PENDING: The resource operation hasn't yet started. -
IN_PROGRESS: The resource operation is currently in progress. -
SUCCESS: The resource operation has successfully completed. -
FAILED: The resource operation has failed. Refer to the error code and status message for more information. -
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled. -
CANCEL_COMPLETE: The resource operation has been canceled.
sourcepub fn set_operation_status(self, input: Option<OperationStatus>) -> Self
pub fn set_operation_status(self, input: Option<OperationStatus>) -> Self
The current status of the resource operation request.
-
PENDING: The resource operation hasn't yet started. -
IN_PROGRESS: The resource operation is currently in progress. -
SUCCESS: The resource operation has successfully completed. -
FAILED: The resource operation has failed. Refer to the error code and status message for more information. -
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled. -
CANCEL_COMPLETE: The resource operation has been canceled.
sourcepub fn get_operation_status(&self) -> &Option<OperationStatus>
pub fn get_operation_status(&self) -> &Option<OperationStatus>
The current status of the resource operation request.
-
PENDING: The resource operation hasn't yet started. -
IN_PROGRESS: The resource operation is currently in progress. -
SUCCESS: The resource operation has successfully completed. -
FAILED: The resource operation has failed. Refer to the error code and status message for more information. -
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled. -
CANCEL_COMPLETE: The resource operation has been canceled.
sourcepub fn event_time(self, input: DateTime) -> Self
pub fn event_time(self, input: DateTime) -> Self
When the resource operation request was initiated.
sourcepub fn set_event_time(self, input: Option<DateTime>) -> Self
pub fn set_event_time(self, input: Option<DateTime>) -> Self
When the resource operation request was initiated.
sourcepub fn get_event_time(&self) -> &Option<DateTime>
pub fn get_event_time(&self) -> &Option<DateTime>
When the resource operation request was initiated.
sourcepub fn resource_model(self, input: impl Into<String>) -> Self
pub fn resource_model(self, input: impl Into<String>) -> Self
A JSON string containing the resource model, consisting of each resource property and its current value.
sourcepub fn set_resource_model(self, input: Option<String>) -> Self
pub fn set_resource_model(self, input: Option<String>) -> Self
A JSON string containing the resource model, consisting of each resource property and its current value.
sourcepub fn get_resource_model(&self) -> &Option<String>
pub fn get_resource_model(&self) -> &Option<String>
A JSON string containing the resource model, consisting of each resource property and its current value.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
Any message explaining the current status.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
Any message explaining the current status.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
Any message explaining the current status.
sourcepub fn error_code(self, input: HandlerErrorCode) -> Self
pub fn error_code(self, input: HandlerErrorCode) -> Self
For requests with a status of FAILED, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
sourcepub fn set_error_code(self, input: Option<HandlerErrorCode>) -> Self
pub fn set_error_code(self, input: Option<HandlerErrorCode>) -> Self
For requests with a status of FAILED, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
sourcepub fn get_error_code(&self) -> &Option<HandlerErrorCode>
pub fn get_error_code(&self) -> &Option<HandlerErrorCode>
For requests with a status of FAILED, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
sourcepub fn retry_after(self, input: DateTime) -> Self
pub fn retry_after(self, input: DateTime) -> Self
When to next request the status of this resource operation request.
sourcepub fn set_retry_after(self, input: Option<DateTime>) -> Self
pub fn set_retry_after(self, input: Option<DateTime>) -> Self
When to next request the status of this resource operation request.
sourcepub fn get_retry_after(&self) -> &Option<DateTime>
pub fn get_retry_after(&self) -> &Option<DateTime>
When to next request the status of this resource operation request.
sourcepub fn build(self) -> ProgressEvent
pub fn build(self) -> ProgressEvent
Consumes the builder and constructs a ProgressEvent.
Trait Implementations§
source§impl Clone for ProgressEventBuilder
impl Clone for ProgressEventBuilder
source§fn clone(&self) -> ProgressEventBuilder
fn clone(&self) -> ProgressEventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ProgressEventBuilder
impl Debug for ProgressEventBuilder
source§impl Default for ProgressEventBuilder
impl Default for ProgressEventBuilder
source§fn default() -> ProgressEventBuilder
fn default() -> ProgressEventBuilder
source§impl PartialEq for ProgressEventBuilder
impl PartialEq for ProgressEventBuilder
source§fn eq(&self, other: &ProgressEventBuilder) -> bool
fn eq(&self, other: &ProgressEventBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ProgressEventBuilder
Auto Trait Implementations§
impl Freeze for ProgressEventBuilder
impl RefUnwindSafe for ProgressEventBuilder
impl Send for ProgressEventBuilder
impl Sync for ProgressEventBuilder
impl Unpin for ProgressEventBuilder
impl UnwindSafe for ProgressEventBuilder
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> 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