Struct aws_sdk_appstream::model::resource_error::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ResourceError.
Implementations§
source§impl Builder
impl Builder
sourcepub fn error_code(self, input: FleetErrorCode) -> Self
pub fn error_code(self, input: FleetErrorCode) -> Self
The error code.
sourcepub fn set_error_code(self, input: Option<FleetErrorCode>) -> Self
pub fn set_error_code(self, input: Option<FleetErrorCode>) -> Self
The error code.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message.
sourcepub fn error_timestamp(self, input: DateTime) -> Self
pub fn error_timestamp(self, input: DateTime) -> Self
The time the error occurred.
sourcepub fn set_error_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_error_timestamp(self, input: Option<DateTime>) -> Self
The time the error occurred.
sourcepub fn build(self) -> ResourceError
pub fn build(self) -> ResourceError
Consumes the builder and constructs a ResourceError.