@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InviteAction extends Object implements Serializable, Cloneable, StructuredPojo
An action to invite a specific Amazon Web Services account to create a member and join the network. The
InviteAction is carried out when a Proposal is APPROVED.
Applies only to Hyperledger Fabric.
| Constructor and Description |
|---|
InviteAction() |
| Modifier and Type | Method and Description |
|---|---|
InviteAction |
clone() |
boolean |
equals(Object obj) |
String |
getPrincipal()
The Amazon Web Services account ID to invite.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPrincipal(String principal)
The Amazon Web Services account ID to invite.
|
String |
toString()
Returns a string representation of this object.
|
InviteAction |
withPrincipal(String principal)
The Amazon Web Services account ID to invite.
|
public void setPrincipal(String principal)
The Amazon Web Services account ID to invite.
principal - The Amazon Web Services account ID to invite.public String getPrincipal()
The Amazon Web Services account ID to invite.
public InviteAction withPrincipal(String principal)
The Amazon Web Services account ID to invite.
principal - The Amazon Web Services account ID to invite.public String toString()
toString in class ObjectObject.toString()public InviteAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.