pub struct Builder { /* private fields */ }Expand description
A builder for MemberConfiguration.
Implementations
sourceimpl Builder
impl Builder
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 framework_configuration(
self,
input: MemberFrameworkConfiguration
) -> Self
pub fn framework_configuration(
self,
input: MemberFrameworkConfiguration
) -> Self
Configuration properties of the blockchain framework relevant to the member.
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 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.
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. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
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.
Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
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.
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 AWS Key Management Service (AWS KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates.
Use one of the following options to specify this parameter:
-
Undefined or empty string - The member uses an AWS owned KMS key for encryption by default.
-
A valid symmetric customer managed KMS key - The member uses the specified key for encryption.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the AWS 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 AWS Key Management Service (AWS KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates.
Use one of the following options to specify this parameter:
-
Undefined or empty string - The member uses an AWS owned KMS key for encryption by default.
-
A valid symmetric customer managed KMS key - The member uses the specified key for encryption.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the AWS 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) -> MemberConfiguration
pub fn build(self) -> MemberConfiguration
Consumes the builder and constructs a MemberConfiguration.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more