Struct aws_sdk_appsync::model::api_key::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ApiKey
.
Implementations§
source§impl Builder
impl Builder
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.