Struct aws_sdk_sagemaker::types::builders::EndpointMetadataBuilder
source · #[non_exhaustive]pub struct EndpointMetadataBuilder { /* private fields */ }
Expand description
A builder for EndpointMetadata
.
Implementations§
source§impl EndpointMetadataBuilder
impl EndpointMetadataBuilder
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
.
Trait Implementations§
source§impl Clone for EndpointMetadataBuilder
impl Clone for EndpointMetadataBuilder
source§fn clone(&self) -> EndpointMetadataBuilder
fn clone(&self) -> EndpointMetadataBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EndpointMetadataBuilder
impl Debug for EndpointMetadataBuilder
source§impl Default for EndpointMetadataBuilder
impl Default for EndpointMetadataBuilder
source§fn default() -> EndpointMetadataBuilder
fn default() -> EndpointMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EndpointMetadataBuilder> for EndpointMetadataBuilder
impl PartialEq<EndpointMetadataBuilder> for EndpointMetadataBuilder
source§fn eq(&self, other: &EndpointMetadataBuilder) -> bool
fn eq(&self, other: &EndpointMetadataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.