Struct aws_sdk_eventbridge::model::create_connection_api_key_auth_request_parameters::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateConnectionApiKeyAuthRequestParameters.
Implementations§
source§impl Builder
impl Builder
sourcepub fn api_key_name(self, input: impl Into<String>) -> Self
pub fn api_key_name(self, input: impl Into<String>) -> Self
The name of the API key to use for authorization.
sourcepub fn set_api_key_name(self, input: Option<String>) -> Self
pub fn set_api_key_name(self, input: Option<String>) -> Self
The name of the API key to use for authorization.
sourcepub fn api_key_value(self, input: impl Into<String>) -> Self
pub fn api_key_value(self, input: impl Into<String>) -> Self
The value for the API key to use for authorization.
sourcepub fn set_api_key_value(self, input: Option<String>) -> Self
pub fn set_api_key_value(self, input: Option<String>) -> Self
The value for the API key to use for authorization.
sourcepub fn build(self) -> CreateConnectionApiKeyAuthRequestParameters
pub fn build(self) -> CreateConnectionApiKeyAuthRequestParameters
Consumes the builder and constructs a CreateConnectionApiKeyAuthRequestParameters.