#[non_exhaustive]pub struct InitializeClusterInput {
pub cluster_id: Option<String>,
pub signed_cert: Option<String>,
pub trust_anchor: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cluster_id: Option<String>The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters.
signed_cert: 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.
trust_anchor: 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.
Implementations§
source§impl InitializeClusterInput
impl InitializeClusterInput
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters.
sourcepub fn signed_cert(&self) -> Option<&str>
pub fn signed_cert(&self) -> Option<&str>
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) -> Option<&str>
pub fn trust_anchor(&self) -> Option<&str>
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.
source§impl InitializeClusterInput
impl InitializeClusterInput
sourcepub fn builder() -> InitializeClusterInputBuilder
pub fn builder() -> InitializeClusterInputBuilder
Creates a new builder-style object to manufacture InitializeClusterInput.
Trait Implementations§
source§impl Clone for InitializeClusterInput
impl Clone for InitializeClusterInput
source§fn clone(&self) -> InitializeClusterInput
fn clone(&self) -> InitializeClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InitializeClusterInput
impl Debug for InitializeClusterInput
source§impl PartialEq for InitializeClusterInput
impl PartialEq for InitializeClusterInput
source§fn eq(&self, other: &InitializeClusterInput) -> bool
fn eq(&self, other: &InitializeClusterInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InitializeClusterInput
Auto Trait Implementations§
impl Freeze for InitializeClusterInput
impl RefUnwindSafe for InitializeClusterInput
impl Send for InitializeClusterInput
impl Sync for InitializeClusterInput
impl Unpin for InitializeClusterInput
impl UnwindSafe for InitializeClusterInput
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