@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; useful for testing and debugging.
|
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 lower-case 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 lower-case 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 lower-case letters or digits.
The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case 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 lower-case 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 lower-case letters or digits.
public void setType(String type)
The type of party.
type
- The type of party.HandshakePartyType
public String getType()
The type of party.
HandshakePartyType
public HandshakeParty withType(String type)
The type of party.
type
- The type of party.HandshakePartyType
public void setType(HandshakePartyType type)
The type of party.
type
- The type of party.HandshakePartyType
public HandshakeParty withType(HandshakePartyType type)
The type of party.
type
- The type of party.HandshakePartyType
public String toString()
toString
in class Object
Object.toString()
public HandshakeParty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.