Struct aws_sdk_cloudhsmv2::operation::initialize_cluster::builders::InitializeClusterFluentBuilder
source · pub struct InitializeClusterFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to InitializeCluster.
Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.
Implementations§
source§impl InitializeClusterFluentBuilder
impl InitializeClusterFluentBuilder
sourcepub fn as_input(&self) -> &InitializeClusterInputBuilder
pub fn as_input(&self) -> &InitializeClusterInputBuilder
Access the InitializeCluster as a reference.
sourcepub async fn send(
self
) -> Result<InitializeClusterOutput, SdkError<InitializeClusterError, HttpResponse>>
pub async fn send( self ) -> Result<InitializeClusterOutput, SdkError<InitializeClusterError, 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<InitializeClusterOutput, InitializeClusterError, Self>
pub fn customize( self ) -> CustomizableOperation<InitializeClusterOutput, InitializeClusterError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters.
sourcepub fn signed_cert(self, input: impl Into<String>) -> Self
pub fn signed_cert(self, input: impl Into<String>) -> Self
The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate must be in PEM format and can contain a maximum of 5000 characters.
sourcepub fn set_signed_cert(self, input: Option<String>) -> Self
pub fn set_signed_cert(self, input: Option<String>) -> Self
The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate must be in PEM format and can contain a maximum of 5000 characters.
sourcepub fn get_signed_cert(&self) -> &Option<String>
pub fn get_signed_cert(&self) -> &Option<String>
The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate must be in PEM format and can contain a maximum of 5000 characters.
sourcepub fn trust_anchor(self, input: impl Into<String>) -> Self
pub fn trust_anchor(self, input: impl Into<String>) -> Self
The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. You must use a self-signed certificate. The certificate used to sign the HSM CSR must be directly available, and thus must be the root certificate. The certificate must be in PEM format and can contain a maximum of 5000 characters.
sourcepub fn set_trust_anchor(self, input: Option<String>) -> Self
pub fn set_trust_anchor(self, input: Option<String>) -> Self
The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. You must use a self-signed certificate. The certificate used to sign the HSM CSR must be directly available, and thus must be the root certificate. The certificate must be in PEM format and can contain a maximum of 5000 characters.
sourcepub fn get_trust_anchor(&self) -> &Option<String>
pub fn get_trust_anchor(&self) -> &Option<String>
The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. You must use a self-signed certificate. The certificate used to sign the HSM CSR must be directly available, and thus must be the root certificate. The certificate must be in PEM format and can contain a maximum of 5000 characters.
Trait Implementations§
source§impl Clone for InitializeClusterFluentBuilder
impl Clone for InitializeClusterFluentBuilder
source§fn clone(&self) -> InitializeClusterFluentBuilder
fn clone(&self) -> InitializeClusterFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for InitializeClusterFluentBuilder
impl !RefUnwindSafe for InitializeClusterFluentBuilder
impl Send for InitializeClusterFluentBuilder
impl Sync for InitializeClusterFluentBuilder
impl Unpin for InitializeClusterFluentBuilder
impl !UnwindSafe for InitializeClusterFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more