@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemberConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration properties of the member.
Applies only to Hyperledger Fabric.
Constructor and Description |
---|
MemberConfiguration() |
Modifier and Type | Method and Description |
---|---|
MemberConfiguration |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
MemberConfiguration |
clearTagsEntries()
Removes all the entries added into Tags.
|
MemberConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
An optional description of the member.
|
MemberFrameworkConfiguration |
getFrameworkConfiguration()
Configuration properties of the blockchain framework relevant to the member.
|
String |
getKmsKeyArn()
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.
|
MemberLogPublishingConfiguration |
getLogPublishingConfiguration()
Configuration properties for logging events associated with a member of a Managed Blockchain network.
|
String |
getName()
The name of the member.
|
Map<String,String> |
getTags()
Tags assigned to the member.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
An optional description of the member.
|
void |
setFrameworkConfiguration(MemberFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the member.
|
void |
setKmsKeyArn(String kmsKeyArn)
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.
|
void |
setLogPublishingConfiguration(MemberLogPublishingConfiguration logPublishingConfiguration)
Configuration properties for logging events associated with a member of a Managed Blockchain network.
|
void |
setName(String name)
The name of the member.
|
void |
setTags(Map<String,String> tags)
Tags assigned to the member.
|
String |
toString()
Returns a string representation of this object.
|
MemberConfiguration |
withDescription(String description)
An optional description of the member.
|
MemberConfiguration |
withFrameworkConfiguration(MemberFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the member.
|
MemberConfiguration |
withKmsKeyArn(String kmsKeyArn)
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.
|
MemberConfiguration |
withLogPublishingConfiguration(MemberLogPublishingConfiguration logPublishingConfiguration)
Configuration properties for logging events associated with a member of a Managed Blockchain network.
|
MemberConfiguration |
withName(String name)
The name of the member.
|
MemberConfiguration |
withTags(Map<String,String> tags)
Tags assigned to the member.
|
public void setName(String name)
The name of the member.
name
- The name of the member.public String getName()
The name of the member.
public MemberConfiguration withName(String name)
The name of the member.
name
- The name of the member.public void setDescription(String description)
An optional description of the member.
description
- An optional description of the member.public String getDescription()
An optional description of the member.
public MemberConfiguration withDescription(String description)
An optional description of the member.
description
- An optional description of the member.public void setFrameworkConfiguration(MemberFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the member.
frameworkConfiguration
- Configuration properties of the blockchain framework relevant to the member.public MemberFrameworkConfiguration getFrameworkConfiguration()
Configuration properties of the blockchain framework relevant to the member.
public MemberConfiguration withFrameworkConfiguration(MemberFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the member.
frameworkConfiguration
- Configuration properties of the blockchain framework relevant to the member.public void setLogPublishingConfiguration(MemberLogPublishingConfiguration logPublishingConfiguration)
Configuration properties for logging events associated with a member of a Managed Blockchain network.
logPublishingConfiguration
- Configuration properties for logging events associated with a member of a Managed Blockchain network.public MemberLogPublishingConfiguration getLogPublishingConfiguration()
Configuration properties for logging events associated with a member of a Managed Blockchain network.
public MemberConfiguration withLogPublishingConfiguration(MemberLogPublishingConfiguration logPublishingConfiguration)
Configuration properties for logging events associated with a member of a Managed Blockchain network.
logPublishingConfiguration
- Configuration properties for logging events associated with a member of a Managed Blockchain network.public Map<String,String> getTags()
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.
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.
public void setTags(Map<String,String> 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
- 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.
public MemberConfiguration withTags(Map<String,String> 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
- 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.
public MemberConfiguration addTagsEntry(String key, String value)
public MemberConfiguration clearTagsEntries()
public void setKmsKeyArn(String kmsKeyArn)
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
kmsKeyArn
- 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
public String getKmsKeyArn()
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
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
public MemberConfiguration withKmsKeyArn(String kmsKeyArn)
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
kmsKeyArn
- 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
public String toString()
toString
in class Object
Object.toString()
public MemberConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.