/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.managedblockchain.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Configuration properties of the member. *
** Applies only to Hyperledger Fabric. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class MemberConfiguration implements Serializable, Cloneable, StructuredPojo { /** ** The name of the member. *
*/ private String name; /** ** An optional description of the member. *
*/ private String description; /** ** Configuration properties of the blockchain framework relevant to the member. *
*/ private MemberFrameworkConfiguration frameworkConfiguration; /** ** Configuration properties for logging events associated with a member of a Managed Blockchain network. *
*/ private MemberLogPublishingConfiguration logPublishingConfiguration; /** ** 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. *
*/ private java.util.Map* 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
*
* The name of the member. *
* * @param name * The name of the member. */ public void setName(String name) { this.name = name; } /** ** The name of the member. *
* * @return The name of the member. */ public String getName() { return this.name; } /** ** The name of the member. *
* * @param name * The name of the member. * @return Returns a reference to this object so that method calls can be chained together. */ public MemberConfiguration withName(String name) { setName(name); return this; } /** ** An optional description of the member. *
* * @param description * An optional description of the member. */ public void setDescription(String description) { this.description = description; } /** ** An optional description of the member. *
* * @return An optional description of the member. */ public String getDescription() { return this.description; } /** ** An optional description of the member. *
* * @param description * An optional description of the member. * @return Returns a reference to this object so that method calls can be chained together. */ public MemberConfiguration withDescription(String description) { setDescription(description); return this; } /** ** Configuration properties of the blockchain framework relevant to the member. *
* * @param frameworkConfiguration * Configuration properties of the blockchain framework relevant to the member. */ public void setFrameworkConfiguration(MemberFrameworkConfiguration frameworkConfiguration) { this.frameworkConfiguration = frameworkConfiguration; } /** ** Configuration properties of the blockchain framework relevant to the member. *
* * @return Configuration properties of the blockchain framework relevant to the member. */ public MemberFrameworkConfiguration getFrameworkConfiguration() { return this.frameworkConfiguration; } /** ** Configuration properties of the blockchain framework relevant to the member. *
* * @param frameworkConfiguration * Configuration properties of the blockchain framework relevant to the member. * @return Returns a reference to this object so that method calls can be chained together. */ public MemberConfiguration withFrameworkConfiguration(MemberFrameworkConfiguration frameworkConfiguration) { setFrameworkConfiguration(frameworkConfiguration); return this; } /** ** Configuration properties for logging events associated with a member of a Managed Blockchain network. *
* * @param logPublishingConfiguration * Configuration properties for logging events associated with a member of a Managed Blockchain network. */ public void setLogPublishingConfiguration(MemberLogPublishingConfiguration logPublishingConfiguration) { this.logPublishingConfiguration = logPublishingConfiguration; } /** ** Configuration properties for logging events associated with a member of a Managed Blockchain network. *
* * @return Configuration properties for logging events associated with a member of a Managed Blockchain network. */ public MemberLogPublishingConfiguration getLogPublishingConfiguration() { return this.logPublishingConfiguration; } /** ** Configuration properties for logging events associated with a member of a Managed Blockchain network. *
* * @param logPublishingConfiguration * Configuration properties for logging events associated with a member of a Managed Blockchain network. * @return Returns a reference to this object so that method calls can be chained together. */ public MemberConfiguration withLogPublishingConfiguration(MemberLogPublishingConfiguration logPublishingConfiguration) { setLogPublishingConfiguration(logPublishingConfiguration); return this; } /** ** 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. *
* * @return 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.
*/
public java.util.Map
* 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.
*
* 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.
*/
public void setTags(java.util.Map
* 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.
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public MemberConfiguration withTags(java.util.Map
* 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:
*
*
*
* @param 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.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 - 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
*
* 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
*
* 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
*
* 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
*
* 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
*