pub struct Builder { /* private fields */ }
Expand description
A builder for VpcEndpointErrorDetail
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
An error message describing the reason for the failure.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
An error message describing the reason for the failure.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The error code for the failed request.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The error code for the failed request.
sourcepub fn build(self) -> VpcEndpointErrorDetail
pub fn build(self) -> VpcEndpointErrorDetail
Consumes the builder and constructs a VpcEndpointErrorDetail
.