Struct aws_sdk_redshift::operation::create_hsm_client_certificate::builders::CreateHsmClientCertificateFluentBuilder
source · pub struct CreateHsmClientCertificateFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateHsmClientCertificate
.
Creates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases.
The command returns a public key, which you must store in the HSM. In addition to creating the HSM certificate, you must create an Amazon Redshift HSM configuration that provides a cluster the information needed to store and use encryption keys in the HSM. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
Implementations§
source§impl CreateHsmClientCertificateFluentBuilder
impl CreateHsmClientCertificateFluentBuilder
sourcepub fn as_input(&self) -> &CreateHsmClientCertificateInputBuilder
pub fn as_input(&self) -> &CreateHsmClientCertificateInputBuilder
Access the CreateHsmClientCertificate as a reference.
sourcepub async fn send(
self
) -> Result<CreateHsmClientCertificateOutput, SdkError<CreateHsmClientCertificateError, HttpResponse>>
pub async fn send( self ) -> Result<CreateHsmClientCertificateOutput, SdkError<CreateHsmClientCertificateError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateHsmClientCertificateOutput, CreateHsmClientCertificateError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateHsmClientCertificateOutput, CreateHsmClientCertificateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn hsm_client_certificate_identifier(self, input: impl Into<String>) -> Self
pub fn hsm_client_certificate_identifier(self, input: impl Into<String>) -> Self
The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.
sourcepub fn set_hsm_client_certificate_identifier(
self,
input: Option<String>
) -> Self
pub fn set_hsm_client_certificate_identifier( self, input: Option<String> ) -> Self
The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.
sourcepub fn get_hsm_client_certificate_identifier(&self) -> &Option<String>
pub fn get_hsm_client_certificate_identifier(&self) -> &Option<String>
The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tag instances.
A list of tag instances.
A list of tag instances.
Trait Implementations§
source§impl Clone for CreateHsmClientCertificateFluentBuilder
impl Clone for CreateHsmClientCertificateFluentBuilder
source§fn clone(&self) -> CreateHsmClientCertificateFluentBuilder
fn clone(&self) -> CreateHsmClientCertificateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more