Struct aws_sdk_elasticsearch::model::vpc_endpoint_error::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VpcEndpointError
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn vpc_endpoint_id(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint_id(self, input: impl Into<String>) -> Self
The unique identifier of the endpoint.
sourcepub fn set_vpc_endpoint_id(self, input: Option<String>) -> Self
pub fn set_vpc_endpoint_id(self, input: Option<String>) -> Self
The unique identifier of the endpoint.
sourcepub fn error_code(self, input: VpcEndpointErrorCode) -> Self
pub fn error_code(self, input: VpcEndpointErrorCode) -> Self
The code associated with the error.
sourcepub fn set_error_code(self, input: Option<VpcEndpointErrorCode>) -> Self
pub fn set_error_code(self, input: Option<VpcEndpointErrorCode>) -> Self
The code associated with the error.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
A message describing the error.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
A message describing the error.
sourcepub fn build(self) -> VpcEndpointError
pub fn build(self) -> VpcEndpointError
Consumes the builder and constructs a VpcEndpointError
.