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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_expires(&self) -> &Option<i64>
pub fn get_expires(&self) -> &Option<i64>
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.
sourcepub fn get_deletes(&self) -> &Option<i64>
pub fn get_deletes(&self) -> &Option<i64>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq<ApiKeyBuilder> for ApiKeyBuilder
impl PartialEq<ApiKeyBuilder> for ApiKeyBuilder
source§fn eq(&self, other: &ApiKeyBuilder) -> bool
fn eq(&self, other: &ApiKeyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.