Struct aws_sdk_sfn::types::builders::InspectionDataResponseBuilder
source · #[non_exhaustive]pub struct InspectionDataResponseBuilder { /* private fields */ }Expand description
A builder for InspectionDataResponse.
Implementations§
source§impl InspectionDataResponseBuilder
impl InspectionDataResponseBuilder
sourcepub fn protocol(self, input: impl Into<String>) -> Self
pub fn protocol(self, input: impl Into<String>) -> Self
The protocol used to return the HTTP response.
sourcepub fn set_protocol(self, input: Option<String>) -> Self
pub fn set_protocol(self, input: Option<String>) -> Self
The protocol used to return the HTTP response.
sourcepub fn get_protocol(&self) -> &Option<String>
pub fn get_protocol(&self) -> &Option<String>
The protocol used to return the HTTP response.
sourcepub fn status_code(self, input: impl Into<String>) -> Self
pub fn status_code(self, input: impl Into<String>) -> Self
The HTTP response status code for the HTTP response.
sourcepub fn set_status_code(self, input: Option<String>) -> Self
pub fn set_status_code(self, input: Option<String>) -> Self
The HTTP response status code for the HTTP response.
sourcepub fn get_status_code(&self) -> &Option<String>
pub fn get_status_code(&self) -> &Option<String>
The HTTP response status code for the HTTP response.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The message associated with the HTTP status code.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The message associated with the HTTP status code.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The message associated with the HTTP status code.
sourcepub fn headers(self, input: impl Into<String>) -> Self
pub fn headers(self, input: impl Into<String>) -> Self
The response headers associated with the HTTP response.
sourcepub fn set_headers(self, input: Option<String>) -> Self
pub fn set_headers(self, input: Option<String>) -> Self
The response headers associated with the HTTP response.
sourcepub fn get_headers(&self) -> &Option<String>
pub fn get_headers(&self) -> &Option<String>
The response headers associated with the HTTP response.
sourcepub fn build(self) -> InspectionDataResponse
pub fn build(self) -> InspectionDataResponse
Consumes the builder and constructs a InspectionDataResponse.
Trait Implementations§
source§impl Clone for InspectionDataResponseBuilder
impl Clone for InspectionDataResponseBuilder
source§fn clone(&self) -> InspectionDataResponseBuilder
fn clone(&self) -> InspectionDataResponseBuilder
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 InspectionDataResponseBuilder
impl Default for InspectionDataResponseBuilder
source§fn default() -> InspectionDataResponseBuilder
fn default() -> InspectionDataResponseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InspectionDataResponseBuilder
impl PartialEq for InspectionDataResponseBuilder
source§fn eq(&self, other: &InspectionDataResponseBuilder) -> bool
fn eq(&self, other: &InspectionDataResponseBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InspectionDataResponseBuilder
Auto Trait Implementations§
impl Freeze for InspectionDataResponseBuilder
impl RefUnwindSafe for InspectionDataResponseBuilder
impl Send for InspectionDataResponseBuilder
impl Sync for InspectionDataResponseBuilder
impl Unpin for InspectionDataResponseBuilder
impl UnwindSafe for InspectionDataResponseBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.