@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HandshakeParty extends Object implements Serializable, Cloneable, StructuredPojo
Identifies a participant in a handshake.
| Constructor and Description |
|---|
HandshakeParty() |
| Modifier and Type | Method and Description |
|---|---|
HandshakeParty |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The unique identifier (ID) for the party.
|
String |
getType()
The type of party.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setId(String id)
The unique identifier (ID) for the party.
|
void |
setType(HandshakePartyType type)
The type of party.
|
void |
setType(String type)
The type of party.
|
String |
toString()
Returns a string representation of this object.
|
HandshakeParty |
withId(String id)
The unique identifier (ID) for the party.
|
HandshakeParty |
withType(HandshakePartyType type)
The type of party.
|
HandshakeParty |
withType(String type)
The type of party.
|
public void setId(String id)
The unique identifier (ID) for the party.
The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.
id - The unique identifier (ID) for the party.
The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.
public String getId()
The unique identifier (ID) for the party.
The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.
The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.
public HandshakeParty withId(String id)
The unique identifier (ID) for the party.
The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.
id - The unique identifier (ID) for the party.
The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.
public void setType(String type)
The type of party.
type - The type of party.HandshakePartyTypepublic String getType()
The type of party.
HandshakePartyTypepublic HandshakeParty withType(String type)
The type of party.
type - The type of party.HandshakePartyTypepublic void setType(HandshakePartyType type)
The type of party.
type - The type of party.HandshakePartyTypepublic HandshakeParty withType(HandshakePartyType type)
The type of party.
type - The type of party.HandshakePartyTypepublic String toString()
toString in class ObjectObject.toString()public HandshakeParty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.