Struct aws_sdk_appsync::input::update_api_key_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateApiKeyInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The ID for the GraphQL API.
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
From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
sourcepub fn set_expires(self, input: Option<i64>) -> Self
pub fn set_expires(self, input: Option<i64>) -> Self
From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
sourcepub fn build(self) -> Result<UpdateApiKeyInput, BuildError>
pub fn build(self) -> Result<UpdateApiKeyInput, BuildError>
Consumes the builder and constructs a UpdateApiKeyInput
.