Interface Member.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Member.Builder,
,Member> SdkBuilder<Member.Builder,
,Member> SdkPojo
- Enclosing class:
Member
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the member.creationDate
(Instant creationDate) The date and time that the member was created.description
(String description) An optional description for the member.default Member.Builder
frameworkAttributes
(Consumer<MemberFrameworkAttributes.Builder> frameworkAttributes) Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.frameworkAttributes
(MemberFrameworkAttributes frameworkAttributes) Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.The unique identifier of the member.The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the member uses for encryption at rest.default Member.Builder
logPublishingConfiguration
(Consumer<MemberLogPublishingConfiguration.Builder> logPublishingConfiguration) Configuration properties for logging events associated with a member.logPublishingConfiguration
(MemberLogPublishingConfiguration logPublishingConfiguration) Configuration properties for logging events associated with a member.The name of the member.The unique identifier of the network to which the member belongs.The status of a member.status
(MemberStatus status) The status of a 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, sdkFields
-
Method Details
-
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
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 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
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 theMemberFrameworkAttributes.Builder
avoiding the need to create one manually viaMemberFrameworkAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toframeworkAttributes(MemberFrameworkAttributes)
.- Parameters:
frameworkAttributes
- a consumer that will call methods onMemberFrameworkAttributes.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 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:
-
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 anAPPROVED
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 anAPPROVED
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 anAPPROVED
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 anAPPROVED
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
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 anAPPROVED
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 anAPPROVED
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 anAPPROVED
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 anAPPROVED
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
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
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.
-