Struct aws_sdk_appsync::types::builders::ApiKeyBuilder
source · #[non_exhaustive]pub struct ApiKeyBuilder { /* private fields */ }
Expand description
A builder for ApiKey
.
Implementations§
source§impl ApiKeyBuilder
impl ApiKeyBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the purpose of the API key.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the purpose of the API key.
sourcepub fn expires(self, input: i64) -> Self
pub fn expires(self, input: i64) -> Self
The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.
sourcepub fn set_expires(self, input: Option<i64>) -> Self
pub fn set_expires(self, input: Option<i64>) -> Self
The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.
sourcepub fn deletes(self, input: i64) -> Self
pub fn deletes(self, input: i64) -> Self
The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.
sourcepub fn set_deletes(self, input: Option<i64>) -> Self
pub fn set_deletes(self, input: Option<i64>) -> Self
The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.
Trait Implementations§
source§impl Clone for ApiKeyBuilder
impl Clone for ApiKeyBuilder
source§fn clone(&self) -> ApiKeyBuilder
fn clone(&self) -> ApiKeyBuilder
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 ApiKeyBuilder
impl Debug for ApiKeyBuilder
source§impl Default for ApiKeyBuilder
impl Default for ApiKeyBuilder
source§fn default() -> ApiKeyBuilder
fn default() -> ApiKeyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ApiKeyBuilder> for ApiKeyBuilder
impl PartialEq<ApiKeyBuilder> for ApiKeyBuilder
source§fn eq(&self, other: &ApiKeyBuilder) -> bool
fn eq(&self, other: &ApiKeyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApiKeyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ApiKeyBuilder
impl Send for ApiKeyBuilder
impl Sync for ApiKeyBuilder
impl Unpin for ApiKeyBuilder
impl UnwindSafe for ApiKeyBuilder
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