@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProposalActions extends Object implements Serializable, Cloneable, StructuredPojo
The actions to carry out if a proposal is APPROVED
.
Applies only to Hyperledger Fabric.
Constructor and Description |
---|
ProposalActions() |
Modifier and Type | Method and Description |
---|---|
ProposalActions |
clone() |
boolean |
equals(Object obj) |
List<InviteAction> |
getInvitations()
The actions to perform for an
APPROVED proposal to invite an Amazon Web Services account to create a
member and join the network. |
List<RemoveAction> |
getRemovals()
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. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInvitations(Collection<InviteAction> invitations)
The actions to perform for an
APPROVED proposal to invite an Amazon Web Services account to create a
member and join the network. |
void |
setRemovals(Collection<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. |
String |
toString()
Returns a string representation of this object.
|
ProposalActions |
withInvitations(Collection<InviteAction> invitations)
The actions to perform for an
APPROVED proposal to invite an Amazon Web Services account to create a
member and join the network. |
ProposalActions |
withInvitations(InviteAction... invitations)
The actions to perform for an
APPROVED proposal to invite an Amazon Web Services account to create a
member and join the network. |
ProposalActions |
withRemovals(Collection<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. |
ProposalActions |
withRemovals(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. |
public List<InviteAction> getInvitations()
The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to create a
member and join the network.
APPROVED
proposal to invite an Amazon Web Services account to
create a member and join the network.public void setInvitations(Collection<InviteAction> invitations)
The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to create a
member and join the network.
invitations
- The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to
create a member and join the network.public ProposalActions withInvitations(InviteAction... invitations)
The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to create a
member and join the network.
NOTE: This method appends the values to the existing list (if any). Use
setInvitations(java.util.Collection)
or withInvitations(java.util.Collection)
if you want to
override the existing values.
invitations
- The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to
create a member and join the network.public ProposalActions withInvitations(Collection<InviteAction> invitations)
The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to create a
member and join the network.
invitations
- The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to
create a member and join the network.public List<RemoveAction> getRemovals()
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.
APPROVED
proposal to remove a member from the network, which
deletes the member and all associated member resources from the network.public void setRemovals(Collection<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.
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.public ProposalActions withRemovals(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.
NOTE: This method appends the values to the existing list (if any). Use
setRemovals(java.util.Collection)
or withRemovals(java.util.Collection)
if you want to override
the existing values.
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.public ProposalActions withRemovals(Collection<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.
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.public String toString()
toString
in class Object
Object.toString()
public ProposalActions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.