Struct aws_sdk_xray::operation::get_insight_impact_graph::builders::GetInsightImpactGraphInputBuilder
source · #[non_exhaustive]pub struct GetInsightImpactGraphInputBuilder { /* private fields */ }
Expand description
A builder for GetInsightImpactGraphInput
.
Implementations§
source§impl GetInsightImpactGraphInputBuilder
impl GetInsightImpactGraphInputBuilder
sourcepub fn insight_id(self, input: impl Into<String>) -> Self
pub fn insight_id(self, input: impl Into<String>) -> Self
The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
This field is required.sourcepub fn set_insight_id(self, input: Option<String>) -> Self
pub fn set_insight_id(self, input: Option<String>) -> Self
The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
sourcepub fn get_insight_id(&self) -> &Option<String>
pub fn get_insight_id(&self) -> &Option<String>
The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.
This field is required.sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.
This field is required.sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Specify the pagination token returned by a previous request to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Specify the pagination token returned by a previous request to retrieve the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Specify the pagination token returned by a previous request to retrieve the next page of results.
sourcepub fn build(self) -> Result<GetInsightImpactGraphInput, BuildError>
pub fn build(self) -> Result<GetInsightImpactGraphInput, BuildError>
Consumes the builder and constructs a GetInsightImpactGraphInput
.
source§impl GetInsightImpactGraphInputBuilder
impl GetInsightImpactGraphInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetInsightImpactGraphOutput, SdkError<GetInsightImpactGraphError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetInsightImpactGraphOutput, SdkError<GetInsightImpactGraphError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetInsightImpactGraphInputBuilder
impl Clone for GetInsightImpactGraphInputBuilder
source§fn clone(&self) -> GetInsightImpactGraphInputBuilder
fn clone(&self) -> GetInsightImpactGraphInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetInsightImpactGraphInputBuilder
impl Default for GetInsightImpactGraphInputBuilder
source§fn default() -> GetInsightImpactGraphInputBuilder
fn default() -> GetInsightImpactGraphInputBuilder
source§impl PartialEq for GetInsightImpactGraphInputBuilder
impl PartialEq for GetInsightImpactGraphInputBuilder
source§fn eq(&self, other: &GetInsightImpactGraphInputBuilder) -> bool
fn eq(&self, other: &GetInsightImpactGraphInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetInsightImpactGraphInputBuilder
Auto Trait Implementations§
impl Freeze for GetInsightImpactGraphInputBuilder
impl RefUnwindSafe for GetInsightImpactGraphInputBuilder
impl Send for GetInsightImpactGraphInputBuilder
impl Sync for GetInsightImpactGraphInputBuilder
impl Unpin for GetInsightImpactGraphInputBuilder
impl UnwindSafe for GetInsightImpactGraphInputBuilder
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