Struct aws_sdk_sagemaker::model::endpoint_metadata::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EndpointMetadata
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn endpoint_name(self, input: impl Into<String>) -> Self
pub fn endpoint_name(self, input: impl Into<String>) -> Self
The name of the endpoint.
sourcepub fn set_endpoint_name(self, input: Option<String>) -> Self
pub fn set_endpoint_name(self, input: Option<String>) -> Self
The name of the endpoint.
sourcepub fn endpoint_config_name(self, input: impl Into<String>) -> Self
pub fn endpoint_config_name(self, input: impl Into<String>) -> Self
The name of the endpoint configuration.
sourcepub fn set_endpoint_config_name(self, input: Option<String>) -> Self
pub fn set_endpoint_config_name(self, input: Option<String>) -> Self
The name of the endpoint configuration.
sourcepub fn endpoint_status(self, input: EndpointStatus) -> Self
pub fn endpoint_status(self, input: EndpointStatus) -> Self
The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary$EndpointStatus
.
sourcepub fn set_endpoint_status(self, input: Option<EndpointStatus>) -> Self
pub fn set_endpoint_status(self, input: Option<EndpointStatus>) -> Self
The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary$EndpointStatus
.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
If the status of the endpoint is Failed
, or the status is InService
but update operation fails, this provides the reason why it failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
If the status of the endpoint is Failed
, or the status is InService
but update operation fails, this provides the reason why it failed.
sourcepub fn build(self) -> EndpointMetadata
pub fn build(self) -> EndpointMetadata
Consumes the builder and constructs a EndpointMetadata
.