Struct aws_sdk_detective::operation::update_datasource_packages::builders::UpdateDatasourcePackagesInputBuilder
source · #[non_exhaustive]pub struct UpdateDatasourcePackagesInputBuilder { /* private fields */ }Expand description
A builder for UpdateDatasourcePackagesInput.
Implementations§
source§impl UpdateDatasourcePackagesInputBuilder
impl UpdateDatasourcePackagesInputBuilder
sourcepub fn graph_arn(self, input: impl Into<String>) -> Self
pub fn graph_arn(self, input: impl Into<String>) -> Self
The 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 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 datasource_packages.
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.
sourcepub fn build(self) -> Result<UpdateDatasourcePackagesInput, BuildError>
pub fn build(self) -> Result<UpdateDatasourcePackagesInput, BuildError>
Consumes the builder and constructs a UpdateDatasourcePackagesInput.
source§impl UpdateDatasourcePackagesInputBuilder
impl UpdateDatasourcePackagesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDatasourcePackagesOutput, SdkError<UpdateDatasourcePackagesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDatasourcePackagesOutput, SdkError<UpdateDatasourcePackagesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDatasourcePackagesInputBuilder
impl Clone for UpdateDatasourcePackagesInputBuilder
source§fn clone(&self) -> UpdateDatasourcePackagesInputBuilder
fn clone(&self) -> UpdateDatasourcePackagesInputBuilder
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 UpdateDatasourcePackagesInputBuilder
impl Default for UpdateDatasourcePackagesInputBuilder
source§fn default() -> UpdateDatasourcePackagesInputBuilder
fn default() -> UpdateDatasourcePackagesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateDatasourcePackagesInputBuilder
impl PartialEq for UpdateDatasourcePackagesInputBuilder
source§fn eq(&self, other: &UpdateDatasourcePackagesInputBuilder) -> bool
fn eq(&self, other: &UpdateDatasourcePackagesInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateDatasourcePackagesInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDatasourcePackagesInputBuilder
impl RefUnwindSafe for UpdateDatasourcePackagesInputBuilder
impl Send for UpdateDatasourcePackagesInputBuilder
impl Sync for UpdateDatasourcePackagesInputBuilder
impl Unpin for UpdateDatasourcePackagesInputBuilder
impl UnwindSafe for UpdateDatasourcePackagesInputBuilder
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>
Creates a shared type from an unshared type.