// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetCollector`](crate::operation::get_collector::builders::GetCollectorFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`collector_id(impl Into<String>)`](crate::operation::get_collector::builders::GetCollectorFluentBuilder::collector_id) / [`set_collector_id(Option<String>)`](crate::operation::get_collector::builders::GetCollectorFluentBuilder::set_collector_id):<br>required: **true**<br>The unique identifier of the Collector to retrieve.<br>
/// - On success, responds with [`GetCollectorOutput`](crate::operation::get_collector::GetCollectorOutput) with field(s):
/// - [`collector_id(String)`](crate::operation::get_collector::GetCollectorOutput::collector_id): The unique identifier of the Collector.
/// - [`collector_arn(String)`](crate::operation::get_collector::GetCollectorOutput::collector_arn): The ARN of the Collector.
/// - [`r#type(CollectorType)`](crate::operation::get_collector::GetCollectorOutput::type): The source collected by this Collector.
/// - [`status(CollectorStatus)`](crate::operation::get_collector::GetCollectorOutput::status): The current lifecycle status.
/// - [`config_recorder_arn(Option<String>)`](crate::operation::get_collector::GetCollectorOutput::config_recorder_arn): The ARN of the provisioned AWS Config Recorder.
/// - [`kubernetes_cluster_role_arn(Option<String>)`](crate::operation::get_collector::GetCollectorOutput::kubernetes_cluster_role_arn): IAM role used to collect Kubernetes cluster metadata.
/// - [`created_at(DateTime)`](crate::operation::get_collector::GetCollectorOutput::created_at): The timestamp when the Collector was created.
/// - [`updated_at(DateTime)`](crate::operation::get_collector::GetCollectorOutput::updated_at): The time of the last successful UpdateCollector call, returned at whole-second precision in the same date-time format as createdAt.
/// - On failure, responds with [`SdkError<GetCollectorError>`](crate::operation::get_collector::GetCollectorError)
pub fn get_collector(&self) -> crate::operation::get_collector::builders::GetCollectorFluentBuilder {
crate::operation::get_collector::builders::GetCollectorFluentBuilder::new(self.handle.clone())
}
}