Struct aws_sdk_apigateway::input::delete_api_key_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeleteApiKeyInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn api_key(self, input: impl Into<String>) -> Self
pub fn api_key(self, input: impl Into<String>) -> Self
The identifier of the ApiKey resource to be deleted.
sourcepub fn set_api_key(self, input: Option<String>) -> Self
pub fn set_api_key(self, input: Option<String>) -> Self
The identifier of the ApiKey resource to be deleted.
sourcepub fn build(self) -> Result<DeleteApiKeyInput, BuildError>
pub fn build(self) -> Result<DeleteApiKeyInput, BuildError>
Consumes the builder and constructs a DeleteApiKeyInput.