@Generated(value="software.amazon.awssdk:codegen") public class HandshakeParty extends Object implements StructuredPojo, ToCopyableBuilder<HandshakeParty.Builder,HandshakeParty>
Identifies a participant in a handshake.
Modifier and Type | Class and Description |
---|---|
static interface |
HandshakeParty.Builder |
Modifier and Type | Method and Description |
---|---|
static HandshakeParty.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier (ID) for the party.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends HandshakeParty.Builder> |
serializableBuilderClass() |
HandshakeParty.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
HandshakePartyType |
type()
The type of party.
|
String |
typeString()
The type of party.
|
copy
public 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.
The regex pattern for handshake ID string requires "h-" followed by from 8 to 32 lower-case letters or digits.
public HandshakePartyType type()
The type of party.
If the service returns an enum value that is not available in the current SDK version, type
will return
HandshakePartyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
HandshakePartyType
public String typeString()
The type of party.
If the service returns an enum value that is not available in the current SDK version, type
will return
HandshakePartyType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
HandshakePartyType
public HandshakeParty.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HandshakeParty.Builder,HandshakeParty>
public static HandshakeParty.Builder builder()
public static Class<? extends HandshakeParty.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.