Struct aws_sdk_detective::operation::start_investigation::builders::StartInvestigationInputBuilder
source · #[non_exhaustive]pub struct StartInvestigationInputBuilder { /* private fields */ }
Expand description
A builder for StartInvestigationInput
.
Implementations§
source§impl StartInvestigationInputBuilder
impl StartInvestigationInputBuilder
sourcepub fn graph_arn(self, input: impl Into<String>) -> Self
pub fn graph_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the behavior graph.
This field is required.sourcepub fn set_graph_arn(self, input: Option<String>) -> Self
pub fn set_graph_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the behavior graph.
sourcepub fn get_graph_arn(&self) -> &Option<String>
pub fn get_graph_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the behavior graph.
sourcepub fn entity_arn(self, input: impl Into<String>) -> Self
pub fn entity_arn(self, input: impl Into<String>) -> Self
The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
This field is required.sourcepub fn set_entity_arn(self, input: Option<String>) -> Self
pub fn set_entity_arn(self, input: Option<String>) -> Self
The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
sourcepub fn get_entity_arn(&self) -> &Option<String>
pub fn get_entity_arn(&self) -> &Option<String>
The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
sourcepub fn scope_start_time(self, input: DateTime) -> Self
pub fn scope_start_time(self, input: DateTime) -> Self
The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
sourcepub fn set_scope_start_time(self, input: Option<DateTime>) -> Self
pub fn set_scope_start_time(self, input: Option<DateTime>) -> Self
The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
sourcepub fn get_scope_start_time(&self) -> &Option<DateTime>
pub fn get_scope_start_time(&self) -> &Option<DateTime>
The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
sourcepub fn scope_end_time(self, input: DateTime) -> Self
pub fn scope_end_time(self, input: DateTime) -> Self
The data and time when the investigation ended. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
sourcepub fn set_scope_end_time(self, input: Option<DateTime>) -> Self
pub fn set_scope_end_time(self, input: Option<DateTime>) -> Self
The data and time when the investigation ended. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
sourcepub fn get_scope_end_time(&self) -> &Option<DateTime>
pub fn get_scope_end_time(&self) -> &Option<DateTime>
The data and time when the investigation ended. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
sourcepub fn build(self) -> Result<StartInvestigationInput, BuildError>
pub fn build(self) -> Result<StartInvestigationInput, BuildError>
Consumes the builder and constructs a StartInvestigationInput
.
source§impl StartInvestigationInputBuilder
impl StartInvestigationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartInvestigationOutput, SdkError<StartInvestigationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartInvestigationOutput, SdkError<StartInvestigationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartInvestigationInputBuilder
impl Clone for StartInvestigationInputBuilder
source§fn clone(&self) -> StartInvestigationInputBuilder
fn clone(&self) -> StartInvestigationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartInvestigationInputBuilder
impl Default for StartInvestigationInputBuilder
source§fn default() -> StartInvestigationInputBuilder
fn default() -> StartInvestigationInputBuilder
source§impl PartialEq for StartInvestigationInputBuilder
impl PartialEq for StartInvestigationInputBuilder
source§fn eq(&self, other: &StartInvestigationInputBuilder) -> bool
fn eq(&self, other: &StartInvestigationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartInvestigationInputBuilder
Auto Trait Implementations§
impl Freeze for StartInvestigationInputBuilder
impl RefUnwindSafe for StartInvestigationInputBuilder
impl Send for StartInvestigationInputBuilder
impl Sync for StartInvestigationInputBuilder
impl Unpin for StartInvestigationInputBuilder
impl UnwindSafe for StartInvestigationInputBuilder
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> 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