@Generated(value="software.amazon.awssdk:codegen") public final class ProposalActions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProposalActions.Builder,ProposalActions>
The actions to carry out if a proposal is APPROVED.
Applies only to Hyperledger Fabric.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProposalActions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ProposalActions.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInvitations()
Returns true if the Invitations property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasRemovals()
Returns true if the Removals property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<InviteAction> |
invitations()
The actions to perform for an
APPROVED proposal to invite an AWS account to create a member and join
the network. |
List<RemoveAction> |
removals()
The actions to perform for an
APPROVED proposal to remove a member from the network, which deletes
the member and all associated member resources from the network. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProposalActions.Builder> |
serializableBuilderClass() |
ProposalActions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasInvitations()
public final List<InviteAction> invitations()
The actions to perform for an APPROVED proposal to invite an AWS account to create a member and join
the network.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInvitations() to see if a value was sent in this field.
APPROVED proposal to invite an AWS account to create a member
and join the network.public final boolean hasRemovals()
public final List<RemoveAction> removals()
The actions to perform for an APPROVED proposal to remove a member from the network, which deletes
the member and all associated member resources from the network.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRemovals() to see if a value was sent in this field.
APPROVED proposal to remove a member from the network, which
deletes the member and all associated member resources from the network.public ProposalActions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ProposalActions.Builder,ProposalActions>public static ProposalActions.Builder builder()
public static Class<? extends ProposalActions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.