@Generated(value="software.amazon.awssdk:codegen") public final class Member extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Member.Builder,Member>
Member configuration properties.
Applies only to Hyperledger Fabric.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Member.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the member.
|
static Member.Builder |
builder() |
Instant |
creationDate()
The date and time that the member was created.
|
String |
description()
An optional description for the member.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
MemberFrameworkAttributes |
frameworkAttributes()
Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
id()
The unique identifier of the member.
|
MemberLogPublishingConfiguration |
logPublishingConfiguration()
Configuration properties for logging events associated with a member.
|
String |
name()
The name of the member.
|
String |
networkId()
The unique identifier of the network to which the member belongs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Member.Builder> |
serializableBuilderClass() |
MemberStatus |
status()
The status of a member.
|
String |
statusAsString()
The status of a member.
|
Map<String,String> |
tags()
Tags assigned to the member.
|
Member.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String networkId()
The unique identifier of the network to which the member belongs.
public final String id()
The unique identifier of the member.
public final String name()
The name of the member.
public final String description()
An optional description for the member.
public final MemberFrameworkAttributes frameworkAttributes()
Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
public final MemberLogPublishingConfiguration logPublishingConfiguration()
Configuration properties for logging events associated with a member.
public final MemberStatus status()
The status of a member.
CREATING - The AWS account is in the process of creating a member.
AVAILABLE - The member has been created and can participate in the network.
CREATE_FAILED - The AWS account attempted to create a member and creation failed.
DELETING - The member and all associated resources are in the process of being deleted. Either the
AWS 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 AWS account that owns the member deleted it, or the member is being deleted as the result of
an APPROVED PROPOSAL to remove the member.
If the service returns an enum value that is not available in the current SDK version, status will
return MemberStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATING - The AWS account is in the process of creating a member.
AVAILABLE - The member has been created and can participate in the network.
CREATE_FAILED - The AWS account attempted to create a member and creation failed.
DELETING - The member and all associated resources are in the process of being deleted.
Either the AWS 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 AWS account that owns the member deleted it, or the member is being deleted as
the result of an APPROVED PROPOSAL to remove the member.
MemberStatuspublic final String statusAsString()
The status of a member.
CREATING - The AWS account is in the process of creating a member.
AVAILABLE - The member has been created and can participate in the network.
CREATE_FAILED - The AWS account attempted to create a member and creation failed.
DELETING - The member and all associated resources are in the process of being deleted. Either the
AWS 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 AWS account that owns the member deleted it, or the member is being deleted as the result of
an APPROVED PROPOSAL to remove the member.
If the service returns an enum value that is not available in the current SDK version, status will
return MemberStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATING - The AWS account is in the process of creating a member.
AVAILABLE - The member has been created and can participate in the network.
CREATE_FAILED - The AWS account attempted to create a member and creation failed.
DELETING - The member and all associated resources are in the process of being deleted.
Either the AWS 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 AWS account that owns the member deleted it, or the member is being deleted as
the result of an APPROVED PROPOSAL to remove the member.
MemberStatuspublic final Instant creationDate()
The date and time that the member was created.
public final boolean hasTags()
public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final String arn()
The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
public Member.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Member.Builder,Member>public static Member.Builder builder()
public static Class<? extends Member.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.