Class HandshakeParty
- java.lang.Object
-
- software.amazon.awssdk.services.organizations.model.HandshakeParty
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HandshakeParty.Builder,HandshakeParty>
@Generated("software.amazon.awssdk:codegen") public final class HandshakeParty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HandshakeParty.Builder,HandshakeParty>
Identifies a participant in a handshake.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHandshakeParty.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HandshakeParty.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier (ID) for the party.List<SdkField<?>>sdkFields()static Class<? extends HandshakeParty.Builder>serializableBuilderClass()HandshakeParty.BuildertoBuilder()StringtoString()Returns a string representation of this object.HandshakePartyTypetype()The type of party.StringtypeAsString()The type of party.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final 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.
- Returns:
- 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.
-
type
public final HandshakePartyType type()
The type of party.
If the service returns an enum value that is not available in the current SDK version,
typewill returnHandshakePartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of party.
- See Also:
HandshakePartyType
-
typeAsString
public final String typeAsString()
The type of party.
If the service returns an enum value that is not available in the current SDK version,
typewill returnHandshakePartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of party.
- See Also:
HandshakePartyType
-
toBuilder
public HandshakeParty.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HandshakeParty.Builder,HandshakeParty>
-
builder
public static HandshakeParty.Builder builder()
-
serializableBuilderClass
public static Class<? extends HandshakeParty.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-