#[non_exhaustive]pub struct CollectorHealthCheck {
pub collector_status: Option<CollectorStatus>,
pub local_collector_s3_access: Option<bool>,
pub web_collector_s3_access: Option<bool>,
pub web_collector_granted_role_based_access: Option<bool>,
}
Expand description
Describes the last Fleet Advisor collector health check.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.collector_status: Option<CollectorStatus>
The status of the Fleet Advisor collector.
local_collector_s3_access: Option<bool>
Whether the local collector can access its Amazon S3 bucket.
web_collector_s3_access: Option<bool>
Whether the web collector can access its Amazon S3 bucket.
web_collector_granted_role_based_access: Option<bool>
Whether the role that you provided when creating the Fleet Advisor collector has sufficient permissions to access the Fleet Advisor web collector.
Implementations§
source§impl CollectorHealthCheck
impl CollectorHealthCheck
sourcepub fn collector_status(&self) -> Option<&CollectorStatus>
pub fn collector_status(&self) -> Option<&CollectorStatus>
The status of the Fleet Advisor collector.
sourcepub fn local_collector_s3_access(&self) -> Option<bool>
pub fn local_collector_s3_access(&self) -> Option<bool>
Whether the local collector can access its Amazon S3 bucket.
sourcepub fn web_collector_s3_access(&self) -> Option<bool>
pub fn web_collector_s3_access(&self) -> Option<bool>
Whether the web collector can access its Amazon S3 bucket.
sourcepub fn web_collector_granted_role_based_access(&self) -> Option<bool>
pub fn web_collector_granted_role_based_access(&self) -> Option<bool>
Whether the role that you provided when creating the Fleet Advisor collector has sufficient permissions to access the Fleet Advisor web collector.
source§impl CollectorHealthCheck
impl CollectorHealthCheck
sourcepub fn builder() -> CollectorHealthCheckBuilder
pub fn builder() -> CollectorHealthCheckBuilder
Creates a new builder-style object to manufacture CollectorHealthCheck
.
Trait Implementations§
source§impl Clone for CollectorHealthCheck
impl Clone for CollectorHealthCheck
source§fn clone(&self) -> CollectorHealthCheck
fn clone(&self) -> CollectorHealthCheck
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 Debug for CollectorHealthCheck
impl Debug for CollectorHealthCheck
source§impl PartialEq for CollectorHealthCheck
impl PartialEq for CollectorHealthCheck
source§fn eq(&self, other: &CollectorHealthCheck) -> bool
fn eq(&self, other: &CollectorHealthCheck) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CollectorHealthCheck
Auto Trait Implementations§
impl RefUnwindSafe for CollectorHealthCheck
impl Send for CollectorHealthCheck
impl Sync for CollectorHealthCheck
impl Unpin for CollectorHealthCheck
impl UnwindSafe for CollectorHealthCheck
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.