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.
This field is required.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 get_endpoint_name(&self) -> &Option<String>
pub fn get_endpoint_name(&self) -> &Option<String>
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 get_endpoint_config_name(&self) -> &Option<String>
pub fn get_endpoint_config_name(&self) -> &Option<String>
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.
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.
sourcepub fn get_endpoint_status(&self) -> &Option<EndpointStatus>
pub fn get_endpoint_status(&self) -> &Option<EndpointStatus>
The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary.
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 get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for EndpointMetadataBuilder
impl PartialEq for EndpointMetadataBuilder
impl StructuralPartialEq for EndpointMetadataBuilder
Auto Trait Implementations§
impl Freeze for EndpointMetadataBuilder
impl RefUnwindSafe for EndpointMetadataBuilder
impl Send for EndpointMetadataBuilder
impl Sync for EndpointMetadataBuilder
impl Unpin for EndpointMetadataBuilder
impl UnwindSafe for EndpointMetadataBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more