Struct aws_sdk_sagemakerruntime::operation::invoke_endpoint_async::builders::InvokeEndpointAsyncOutputBuilder
source · #[non_exhaustive]pub struct InvokeEndpointAsyncOutputBuilder { /* private fields */ }
Expand description
A builder for InvokeEndpointAsyncOutput
.
Implementations§
source§impl InvokeEndpointAsyncOutputBuilder
impl InvokeEndpointAsyncOutputBuilder
sourcepub fn inference_id(self, input: impl Into<String>) -> Self
pub fn inference_id(self, input: impl Into<String>) -> Self
Identifier for an inference request. This will be the same as the InferenceId
specified in the input. Amazon SageMaker will generate an identifier for you if you do not specify one.
sourcepub fn set_inference_id(self, input: Option<String>) -> Self
pub fn set_inference_id(self, input: Option<String>) -> Self
Identifier for an inference request. This will be the same as the InferenceId
specified in the input. Amazon SageMaker will generate an identifier for you if you do not specify one.
sourcepub fn get_inference_id(&self) -> &Option<String>
pub fn get_inference_id(&self) -> &Option<String>
Identifier for an inference request. This will be the same as the InferenceId
specified in the input. Amazon SageMaker will generate an identifier for you if you do not specify one.
sourcepub fn output_location(self, input: impl Into<String>) -> Self
pub fn output_location(self, input: impl Into<String>) -> Self
The Amazon S3 URI where the inference response payload is stored.
sourcepub fn set_output_location(self, input: Option<String>) -> Self
pub fn set_output_location(self, input: Option<String>) -> Self
The Amazon S3 URI where the inference response payload is stored.
sourcepub fn get_output_location(&self) -> &Option<String>
pub fn get_output_location(&self) -> &Option<String>
The Amazon S3 URI where the inference response payload is stored.
sourcepub fn failure_location(self, input: impl Into<String>) -> Self
pub fn failure_location(self, input: impl Into<String>) -> Self
The Amazon S3 URI where the inference failure response payload is stored.
sourcepub fn set_failure_location(self, input: Option<String>) -> Self
pub fn set_failure_location(self, input: Option<String>) -> Self
The Amazon S3 URI where the inference failure response payload is stored.
sourcepub fn get_failure_location(&self) -> &Option<String>
pub fn get_failure_location(&self) -> &Option<String>
The Amazon S3 URI where the inference failure response payload is stored.
sourcepub fn build(self) -> InvokeEndpointAsyncOutput
pub fn build(self) -> InvokeEndpointAsyncOutput
Consumes the builder and constructs a InvokeEndpointAsyncOutput
.
Trait Implementations§
source§impl Clone for InvokeEndpointAsyncOutputBuilder
impl Clone for InvokeEndpointAsyncOutputBuilder
source§fn clone(&self) -> InvokeEndpointAsyncOutputBuilder
fn clone(&self) -> InvokeEndpointAsyncOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InvokeEndpointAsyncOutputBuilder
impl Default for InvokeEndpointAsyncOutputBuilder
source§fn default() -> InvokeEndpointAsyncOutputBuilder
fn default() -> InvokeEndpointAsyncOutputBuilder
source§impl PartialEq for InvokeEndpointAsyncOutputBuilder
impl PartialEq for InvokeEndpointAsyncOutputBuilder
source§fn eq(&self, other: &InvokeEndpointAsyncOutputBuilder) -> bool
fn eq(&self, other: &InvokeEndpointAsyncOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InvokeEndpointAsyncOutputBuilder
Auto Trait Implementations§
impl Freeze for InvokeEndpointAsyncOutputBuilder
impl RefUnwindSafe for InvokeEndpointAsyncOutputBuilder
impl Send for InvokeEndpointAsyncOutputBuilder
impl Sync for InvokeEndpointAsyncOutputBuilder
impl Unpin for InvokeEndpointAsyncOutputBuilder
impl UnwindSafe for InvokeEndpointAsyncOutputBuilder
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