Struct aws_sdk_guardduty::operation::get_coverage_statistics::builders::GetCoverageStatisticsFluentBuilder
source · pub struct GetCoverageStatisticsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetCoverageStatistics.
Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the statistics for all the resources associated with the active member accounts in your organization who have enabled EKS Runtime Monitoring and have the GuardDuty agent running on their EKS nodes.
Implementations§
source§impl GetCoverageStatisticsFluentBuilder
impl GetCoverageStatisticsFluentBuilder
sourcepub fn as_input(&self) -> &GetCoverageStatisticsInputBuilder
pub fn as_input(&self) -> &GetCoverageStatisticsInputBuilder
Access the GetCoverageStatistics as a reference.
sourcepub async fn send(
self
) -> Result<GetCoverageStatisticsOutput, SdkError<GetCoverageStatisticsError, HttpResponse>>
pub async fn send( self ) -> Result<GetCoverageStatisticsOutput, SdkError<GetCoverageStatisticsError, 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<GetCoverageStatisticsOutput, GetCoverageStatisticsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetCoverageStatisticsOutput, GetCoverageStatisticsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn detector_id(self, input: impl Into<String>) -> Self
pub fn detector_id(self, input: impl Into<String>) -> Self
The unique ID of the GuardDuty detector associated to the coverage statistics.
sourcepub fn set_detector_id(self, input: Option<String>) -> Self
pub fn set_detector_id(self, input: Option<String>) -> Self
The unique ID of the GuardDuty detector associated to the coverage statistics.
sourcepub fn get_detector_id(&self) -> &Option<String>
pub fn get_detector_id(&self) -> &Option<String>
The unique ID of the GuardDuty detector associated to the coverage statistics.
sourcepub fn filter_criteria(self, input: CoverageFilterCriteria) -> Self
pub fn filter_criteria(self, input: CoverageFilterCriteria) -> Self
Represents the criteria used to filter the coverage statistics
sourcepub fn set_filter_criteria(self, input: Option<CoverageFilterCriteria>) -> Self
pub fn set_filter_criteria(self, input: Option<CoverageFilterCriteria>) -> Self
Represents the criteria used to filter the coverage statistics
sourcepub fn get_filter_criteria(&self) -> &Option<CoverageFilterCriteria>
pub fn get_filter_criteria(&self) -> &Option<CoverageFilterCriteria>
Represents the criteria used to filter the coverage statistics
sourcepub fn statistics_type(self, input: CoverageStatisticsType) -> Self
pub fn statistics_type(self, input: CoverageStatisticsType) -> Self
Appends an item to StatisticsType.
To override the contents of this collection use set_statistics_type.
Represents the statistics type used to aggregate the coverage details.
sourcepub fn set_statistics_type(
self,
input: Option<Vec<CoverageStatisticsType>>
) -> Self
pub fn set_statistics_type( self, input: Option<Vec<CoverageStatisticsType>> ) -> Self
Represents the statistics type used to aggregate the coverage details.
sourcepub fn get_statistics_type(&self) -> &Option<Vec<CoverageStatisticsType>>
pub fn get_statistics_type(&self) -> &Option<Vec<CoverageStatisticsType>>
Represents the statistics type used to aggregate the coverage details.
Trait Implementations§
source§impl Clone for GetCoverageStatisticsFluentBuilder
impl Clone for GetCoverageStatisticsFluentBuilder
source§fn clone(&self) -> GetCoverageStatisticsFluentBuilder
fn clone(&self) -> GetCoverageStatisticsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more