Struct aws_sdk_detective::operation::update_datasource_packages::builders::UpdateDatasourcePackagesFluentBuilder
source · pub struct UpdateDatasourcePackagesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDatasourcePackages
.
Starts a data source packages for the behavior graph.
Implementations§
source§impl UpdateDatasourcePackagesFluentBuilder
impl UpdateDatasourcePackagesFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDatasourcePackagesInputBuilder
pub fn as_input(&self) -> &UpdateDatasourcePackagesInputBuilder
Access the UpdateDatasourcePackages as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDatasourcePackagesOutput, SdkError<UpdateDatasourcePackagesError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDatasourcePackagesOutput, SdkError<UpdateDatasourcePackagesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateDatasourcePackagesOutput, UpdateDatasourcePackagesError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateDatasourcePackagesOutput, UpdateDatasourcePackagesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_graph_arn(self, input: Option<String>) -> Self
pub fn set_graph_arn(self, input: Option<String>) -> Self
The ARN of the behavior graph.
sourcepub fn get_graph_arn(&self) -> &Option<String>
pub fn get_graph_arn(&self) -> &Option<String>
The ARN of the behavior graph.
sourcepub fn datasource_packages(self, input: DatasourcePackage) -> Self
pub fn datasource_packages(self, input: DatasourcePackage) -> Self
Appends an item to DatasourcePackages
.
To override the contents of this collection use set_datasource_packages
.
The data source package start for the behavior graph.
sourcepub fn set_datasource_packages(
self,
input: Option<Vec<DatasourcePackage>>
) -> Self
pub fn set_datasource_packages( self, input: Option<Vec<DatasourcePackage>> ) -> Self
The data source package start for the behavior graph.
sourcepub fn get_datasource_packages(&self) -> &Option<Vec<DatasourcePackage>>
pub fn get_datasource_packages(&self) -> &Option<Vec<DatasourcePackage>>
The data source package start for the behavior graph.
Trait Implementations§
source§impl Clone for UpdateDatasourcePackagesFluentBuilder
impl Clone for UpdateDatasourcePackagesFluentBuilder
source§fn clone(&self) -> UpdateDatasourcePackagesFluentBuilder
fn clone(&self) -> UpdateDatasourcePackagesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateDatasourcePackagesFluentBuilder
impl !RefUnwindSafe for UpdateDatasourcePackagesFluentBuilder
impl Send for UpdateDatasourcePackagesFluentBuilder
impl Sync for UpdateDatasourcePackagesFluentBuilder
impl Unpin for UpdateDatasourcePackagesFluentBuilder
impl !UnwindSafe for UpdateDatasourcePackagesFluentBuilder
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