Interface MemberConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MemberConfiguration.Builder,
,MemberConfiguration> SdkBuilder<MemberConfiguration.Builder,
,MemberConfiguration> SdkPojo
- Enclosing class:
MemberConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) An optional description of the member.default MemberConfiguration.Builder
frameworkConfiguration
(Consumer<MemberFrameworkConfiguration.Builder> frameworkConfiguration) Configuration properties of the blockchain framework relevant to the member.frameworkConfiguration
(MemberFrameworkConfiguration frameworkConfiguration) Configuration properties of the blockchain framework relevant to the member.The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member.default MemberConfiguration.Builder
logPublishingConfiguration
(Consumer<MemberLogPublishingConfiguration.Builder> logPublishingConfiguration) Configuration properties for logging events associated with a member of a Managed Blockchain network.logPublishingConfiguration
(MemberLogPublishingConfiguration logPublishingConfiguration) Configuration properties for logging events associated with a member of a Managed Blockchain network.The name of the member.Tags assigned to the member.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the member.
- Parameters:
name
- The name of the member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description of the member.
- Parameters:
description
- An optional description of the member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkConfiguration
MemberConfiguration.Builder frameworkConfiguration(MemberFrameworkConfiguration frameworkConfiguration) Configuration properties of the blockchain framework relevant to the member.
- Parameters:
frameworkConfiguration
- Configuration properties of the blockchain framework relevant to the member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkConfiguration
default MemberConfiguration.Builder frameworkConfiguration(Consumer<MemberFrameworkConfiguration.Builder> frameworkConfiguration) Configuration properties of the blockchain framework relevant to the member.
This is a convenience method that creates an instance of theMemberFrameworkConfiguration.Builder
avoiding the need to create one manually viaMemberFrameworkConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toframeworkConfiguration(MemberFrameworkConfiguration)
.- Parameters:
frameworkConfiguration
- a consumer that will call methods onMemberFrameworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logPublishingConfiguration
MemberConfiguration.Builder logPublishingConfiguration(MemberLogPublishingConfiguration logPublishingConfiguration) Configuration properties for logging events associated with a member of a Managed Blockchain network.
- Parameters:
logPublishingConfiguration
- Configuration properties for logging events associated with a member of a Managed Blockchain network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingConfiguration
default MemberConfiguration.Builder logPublishingConfiguration(Consumer<MemberLogPublishingConfiguration.Builder> logPublishingConfiguration) Configuration properties for logging events associated with a member of a Managed Blockchain network.
This is a convenience method that creates an instance of theMemberLogPublishingConfiguration.Builder
avoiding the need to create one manually viaMemberLogPublishingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologPublishingConfiguration(MemberLogPublishingConfiguration)
.- Parameters:
logPublishingConfiguration
- a consumer that will call methods onMemberLogPublishingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
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
- Parameters:
kmsKeyArn
- 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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-