All Superinterfaces:
Buildable, CopyableBuilder<Member.Builder,Member>, SdkBuilder<Member.Builder,Member>, SdkPojo
Enclosing class:
Member

public static interface Member.Builder extends SdkPojo, CopyableBuilder<Member.Builder,Member>
  • Method Details

    • networkId

      Member.Builder networkId(String networkId)

      The unique identifier of the network to which the member belongs.

      Parameters:
      networkId - The unique identifier of the network to which the member belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique identifier of the member.

      Parameters:
      id - The unique identifier of the member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Member.Builder name(String 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

      Member.Builder description(String description)

      An optional description for the member.

      Parameters:
      description - An optional description for the member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkAttributes

      Member.Builder frameworkAttributes(MemberFrameworkAttributes frameworkAttributes)

      Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.

      Parameters:
      frameworkAttributes - Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkAttributes

      default Member.Builder frameworkAttributes(Consumer<MemberFrameworkAttributes.Builder> frameworkAttributes)

      Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.

      This is a convenience method that creates an instance of the MemberFrameworkAttributes.Builder avoiding the need to create one manually via MemberFrameworkAttributes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to frameworkAttributes(MemberFrameworkAttributes).

      Parameters:
      frameworkAttributes - a consumer that will call methods on MemberFrameworkAttributes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logPublishingConfiguration

      Member.Builder logPublishingConfiguration(MemberLogPublishingConfiguration logPublishingConfiguration)

      Configuration properties for logging events associated with a member.

      Parameters:
      logPublishingConfiguration - Configuration properties for logging events associated with a member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logPublishingConfiguration

      default Member.Builder logPublishingConfiguration(Consumer<MemberLogPublishingConfiguration.Builder> logPublishingConfiguration)

      Configuration properties for logging events associated with a member.

      This is a convenience method that creates an instance of the MemberLogPublishingConfiguration.Builder avoiding the need to create one manually via MemberLogPublishingConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logPublishingConfiguration(MemberLogPublishingConfiguration).

      Parameters:
      logPublishingConfiguration - a consumer that will call methods on MemberLogPublishingConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Member.Builder status(String status)

      The status of a member.

      • CREATING - The Amazon Web Services account is in the process of creating a member.

      • AVAILABLE - The member has been created and can participate in the network.

      • CREATE_FAILED - The Amazon Web Services account attempted to create a member and creation failed.

      • UPDATING - The member is in the process of being updated.

      • DELETING - The member and all associated resources are in the process of being deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

      • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

      • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

        The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

      Parameters:
      status - The status of a member.

      • CREATING - The Amazon Web Services account is in the process of creating a member.

      • AVAILABLE - The member has been created and can participate in the network.

      • CREATE_FAILED - The Amazon Web Services account attempted to create a member and creation failed.

      • UPDATING - The member is in the process of being updated.

      • DELETING - The member and all associated resources are in the process of being deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

      • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

      • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

        The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Member.Builder status(MemberStatus status)

      The status of a member.

      • CREATING - The Amazon Web Services account is in the process of creating a member.

      • AVAILABLE - The member has been created and can participate in the network.

      • CREATE_FAILED - The Amazon Web Services account attempted to create a member and creation failed.

      • UPDATING - The member is in the process of being updated.

      • DELETING - The member and all associated resources are in the process of being deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

      • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

      • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

        The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

      Parameters:
      status - The status of a member.

      • CREATING - The Amazon Web Services account is in the process of creating a member.

      • AVAILABLE - The member has been created and can participate in the network.

      • CREATE_FAILED - The Amazon Web Services account attempted to create a member and creation failed.

      • UPDATING - The member is in the process of being updated.

      • DELETING - The member and all associated resources are in the process of being deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

      • DELETED - The member can no longer participate on the network and all associated resources are deleted. Either the Amazon Web Services account that owns the member deleted it, or the member is being deleted as the result of an APPROVED PROPOSAL to remove the member.

      • INACCESSIBLE_ENCRYPTION_KEY - The member is impaired and might not function as expected because it cannot access the specified customer managed key in KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.

        The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationDate

      Member.Builder creationDate(Instant creationDate)

      The date and time that the member was created.

      Parameters:
      creationDate - The date and time that the member was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 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.

      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.
    • arn

      The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyArn

      Member.Builder kmsKeyArn(String kmsKeyArn)

      The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the member uses for encryption at rest. If the value of this parameter is "AWS Owned KMS Key", the member uses an Amazon Web Services owned KMS key for encryption. This parameter is inherited by the nodes that this member owns.

      For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

      Parameters:
      kmsKeyArn - The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the member uses for encryption at rest. If the value of this parameter is "AWS Owned KMS Key" , the member uses an Amazon Web Services owned KMS key for encryption. This parameter is inherited by the nodes that this member owns.

      For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.