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 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 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 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
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 Default for InvokeEndpointAsyncOutputBuilder
impl Default for InvokeEndpointAsyncOutputBuilder
source§fn default() -> InvokeEndpointAsyncOutputBuilder
fn default() -> InvokeEndpointAsyncOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<InvokeEndpointAsyncOutputBuilder> for InvokeEndpointAsyncOutputBuilder
impl PartialEq<InvokeEndpointAsyncOutputBuilder> for InvokeEndpointAsyncOutputBuilder
source§fn eq(&self, other: &InvokeEndpointAsyncOutputBuilder) -> bool
fn eq(&self, other: &InvokeEndpointAsyncOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InvokeEndpointAsyncOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more