Struct aws_sdk_eks::types::builders::ClientStatBuilder
source · #[non_exhaustive]pub struct ClientStatBuilder { /* private fields */ }Expand description
A builder for ClientStat.
Implementations§
source§impl ClientStatBuilder
impl ClientStatBuilder
sourcepub fn user_agent(self, input: impl Into<String>) -> Self
pub fn user_agent(self, input: impl Into<String>) -> Self
The user agent of the Kubernetes client using the deprecated resource.
sourcepub fn set_user_agent(self, input: Option<String>) -> Self
pub fn set_user_agent(self, input: Option<String>) -> Self
The user agent of the Kubernetes client using the deprecated resource.
sourcepub fn get_user_agent(&self) -> &Option<String>
pub fn get_user_agent(&self) -> &Option<String>
The user agent of the Kubernetes client using the deprecated resource.
sourcepub fn number_of_requests_last30_days(self, input: i32) -> Self
pub fn number_of_requests_last30_days(self, input: i32) -> Self
The number of requests from the Kubernetes client seen over the last 30 days.
sourcepub fn set_number_of_requests_last30_days(self, input: Option<i32>) -> Self
pub fn set_number_of_requests_last30_days(self, input: Option<i32>) -> Self
The number of requests from the Kubernetes client seen over the last 30 days.
sourcepub fn get_number_of_requests_last30_days(&self) -> &Option<i32>
pub fn get_number_of_requests_last30_days(&self) -> &Option<i32>
The number of requests from the Kubernetes client seen over the last 30 days.
sourcepub fn last_request_time(self, input: DateTime) -> Self
pub fn last_request_time(self, input: DateTime) -> Self
The timestamp of the last request seen from the Kubernetes client.
sourcepub fn set_last_request_time(self, input: Option<DateTime>) -> Self
pub fn set_last_request_time(self, input: Option<DateTime>) -> Self
The timestamp of the last request seen from the Kubernetes client.
sourcepub fn get_last_request_time(&self) -> &Option<DateTime>
pub fn get_last_request_time(&self) -> &Option<DateTime>
The timestamp of the last request seen from the Kubernetes client.
sourcepub fn build(self) -> ClientStat
pub fn build(self) -> ClientStat
Consumes the builder and constructs a ClientStat.
Trait Implementations§
source§impl Clone for ClientStatBuilder
impl Clone for ClientStatBuilder
source§fn clone(&self) -> ClientStatBuilder
fn clone(&self) -> ClientStatBuilder
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 ClientStatBuilder
impl Debug for ClientStatBuilder
source§impl Default for ClientStatBuilder
impl Default for ClientStatBuilder
source§fn default() -> ClientStatBuilder
fn default() -> ClientStatBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ClientStatBuilder
impl PartialEq for ClientStatBuilder
source§fn eq(&self, other: &ClientStatBuilder) -> bool
fn eq(&self, other: &ClientStatBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ClientStatBuilder
Auto Trait Implementations§
impl Freeze for ClientStatBuilder
impl RefUnwindSafe for ClientStatBuilder
impl Send for ClientStatBuilder
impl Sync for ClientStatBuilder
impl Unpin for ClientStatBuilder
impl UnwindSafe for ClientStatBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.