#[non_exhaustive]pub struct MemberConfigurationBuilder { /* private fields */ }
Expand description
A builder for MemberConfiguration
.
Implementations§
source§impl MemberConfigurationBuilder
impl MemberConfigurationBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the member.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional description of the member.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional description of the member.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
An optional description of the member.
sourcepub fn framework_configuration(
self,
input: MemberFrameworkConfiguration
) -> Self
pub fn framework_configuration( self, input: MemberFrameworkConfiguration ) -> Self
Configuration properties of the blockchain framework relevant to the member.
This field is required.sourcepub fn set_framework_configuration(
self,
input: Option<MemberFrameworkConfiguration>
) -> Self
pub fn set_framework_configuration( self, input: Option<MemberFrameworkConfiguration> ) -> Self
Configuration properties of the blockchain framework relevant to the member.
sourcepub fn get_framework_configuration(
&self
) -> &Option<MemberFrameworkConfiguration>
pub fn get_framework_configuration( &self ) -> &Option<MemberFrameworkConfiguration>
Configuration properties of the blockchain framework relevant to the member.
sourcepub fn log_publishing_configuration(
self,
input: MemberLogPublishingConfiguration
) -> Self
pub fn log_publishing_configuration( self, input: MemberLogPublishingConfiguration ) -> Self
Configuration properties for logging events associated with a member of a Managed Blockchain network.
sourcepub fn set_log_publishing_configuration(
self,
input: Option<MemberLogPublishingConfiguration>
) -> Self
pub fn set_log_publishing_configuration( self, input: Option<MemberLogPublishingConfiguration> ) -> Self
Configuration properties for logging events associated with a member of a Managed Blockchain network.
sourcepub fn get_log_publishing_configuration(
&self
) -> &Option<MemberLogPublishingConfiguration>
pub fn get_log_publishing_configuration( &self ) -> &Option<MemberLogPublishingConfiguration>
Configuration properties for logging events associated with a member of a Managed Blockchain network.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags assigned to the member. Tags consist of a key and optional value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Tags assigned to the member. Tags consist of a key and optional value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Tags assigned to the member. Tags consist of a key and optional value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates. For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Use one of the following options to specify this parameter:
-
Undefined or empty string - By default, use an KMS key that is owned and managed by Amazon Web Services on your behalf.
-
A valid symmetric customer managed KMS key - Use the specified KMS key in your account that you create, own, and manage.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
The following is an example of a KMS key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates. For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Use one of the following options to specify this parameter:
-
Undefined or empty string - By default, use an KMS key that is owned and managed by Amazon Web Services on your behalf.
-
A valid symmetric customer managed KMS key - Use the specified KMS key in your account that you create, own, and manage.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
The following is an example of a KMS key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates. For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Use one of the following options to specify this parameter:
-
Undefined or empty string - By default, use an KMS key that is owned and managed by Amazon Web Services on your behalf.
-
A valid symmetric customer managed KMS key - Use the specified KMS key in your account that you create, own, and manage.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
The following is an example of a KMS key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
sourcepub fn build(self) -> Result<MemberConfiguration, BuildError>
pub fn build(self) -> Result<MemberConfiguration, BuildError>
Consumes the builder and constructs a MemberConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MemberConfigurationBuilder
impl Clone for MemberConfigurationBuilder
source§fn clone(&self) -> MemberConfigurationBuilder
fn clone(&self) -> MemberConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MemberConfigurationBuilder
impl Debug for MemberConfigurationBuilder
source§impl Default for MemberConfigurationBuilder
impl Default for MemberConfigurationBuilder
source§fn default() -> MemberConfigurationBuilder
fn default() -> MemberConfigurationBuilder
source§impl PartialEq for MemberConfigurationBuilder
impl PartialEq for MemberConfigurationBuilder
source§fn eq(&self, other: &MemberConfigurationBuilder) -> bool
fn eq(&self, other: &MemberConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MemberConfigurationBuilder
Auto Trait Implementations§
impl Freeze for MemberConfigurationBuilder
impl RefUnwindSafe for MemberConfigurationBuilder
impl Send for MemberConfigurationBuilder
impl Sync for MemberConfigurationBuilder
impl Unpin for MemberConfigurationBuilder
impl UnwindSafe for MemberConfigurationBuilder
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