Struct aws_sdk_cloudhsmv2::operation::initialize_cluster::builders::InitializeClusterInputBuilder
source · #[non_exhaustive]pub struct InitializeClusterInputBuilder { /* private fields */ }Expand description
A builder for InitializeClusterInput.
Implementations§
source§impl InitializeClusterInputBuilder
impl InitializeClusterInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<InitializeClusterInput, BuildError>
pub fn build(self) -> Result<InitializeClusterInput, BuildError>
Consumes the builder and constructs a InitializeClusterInput.
source§impl InitializeClusterInputBuilder
impl InitializeClusterInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<InitializeClusterOutput, SdkError<InitializeClusterError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<InitializeClusterOutput, SdkError<InitializeClusterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for InitializeClusterInputBuilder
impl Clone for InitializeClusterInputBuilder
source§fn clone(&self) -> InitializeClusterInputBuilder
fn clone(&self) -> InitializeClusterInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for InitializeClusterInputBuilder
impl Default for InitializeClusterInputBuilder
source§fn default() -> InitializeClusterInputBuilder
fn default() -> InitializeClusterInputBuilder
source§impl PartialEq for InitializeClusterInputBuilder
impl PartialEq for InitializeClusterInputBuilder
source§fn eq(&self, other: &InitializeClusterInputBuilder) -> bool
fn eq(&self, other: &InitializeClusterInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InitializeClusterInputBuilder
Auto Trait Implementations§
impl Freeze for InitializeClusterInputBuilder
impl RefUnwindSafe for InitializeClusterInputBuilder
impl Send for InitializeClusterInputBuilder
impl Sync for InitializeClusterInputBuilder
impl Unpin for InitializeClusterInputBuilder
impl UnwindSafe for InitializeClusterInputBuilder
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