Struct aws_sdk_ssmsap::types::builders::OperationBuilder
source · #[non_exhaustive]pub struct OperationBuilder { /* private fields */ }Expand description
A builder for Operation.
Implementations§
source§impl OperationBuilder
impl OperationBuilder
sourcepub fn status(self, input: OperationStatus) -> Self
pub fn status(self, input: OperationStatus) -> Self
The status of the operation.
sourcepub fn set_status(self, input: Option<OperationStatus>) -> Self
pub fn set_status(self, input: Option<OperationStatus>) -> Self
The status of the operation.
sourcepub fn get_status(&self) -> &Option<OperationStatus>
pub fn get_status(&self) -> &Option<OperationStatus>
The status of the operation.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message of the operation.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message of the operation.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message of the operation.
sourcepub fn properties(self, k: impl Into<String>, v: Option<String>) -> Self
pub fn properties(self, k: impl Into<String>, v: Option<String>) -> Self
Adds a key-value pair to properties.
To override the contents of this collection use set_properties.
The properties of the operation.
sourcepub fn set_properties(
self,
input: Option<HashMap<String, Option<String>>>
) -> Self
pub fn set_properties( self, input: Option<HashMap<String, Option<String>>> ) -> Self
The properties of the operation.
sourcepub fn get_properties(&self) -> &Option<HashMap<String, Option<String>>>
pub fn get_properties(&self) -> &Option<HashMap<String, Option<String>>>
The properties of the operation.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The resource type of the operation.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The resource type of the operation.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The resource type of the operation.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The resource ID of the operation.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The resource ID of the operation.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The resource ID of the operation.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the operation.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the operation.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the operation.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the operation.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the operation.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start time of the operation.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time of the operation.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end time of the operation.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The time at which the operation was last updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The time at which the operation was last updated.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The time at which the operation was last updated.
Trait Implementations§
source§impl Clone for OperationBuilder
impl Clone for OperationBuilder
source§fn clone(&self) -> OperationBuilder
fn clone(&self) -> OperationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OperationBuilder
impl Debug for OperationBuilder
source§impl Default for OperationBuilder
impl Default for OperationBuilder
source§fn default() -> OperationBuilder
fn default() -> OperationBuilder
source§impl PartialEq for OperationBuilder
impl PartialEq for OperationBuilder
source§fn eq(&self, other: &OperationBuilder) -> bool
fn eq(&self, other: &OperationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OperationBuilder
Auto Trait Implementations§
impl Freeze for OperationBuilder
impl RefUnwindSafe for OperationBuilder
impl Send for OperationBuilder
impl Sync for OperationBuilder
impl Unpin for OperationBuilder
impl UnwindSafe for OperationBuilder
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