@Generated(value="software.amazon.awssdk:codegen") public final class AlternateContact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AlternateContact.Builder,AlternateContact>
A structure that contains the details of an alternate contact associated with an Amazon Web Services account
| Modifier and Type | Class and Description |
|---|---|
static interface |
AlternateContact.Builder |
| Modifier and Type | Method and Description |
|---|---|
AlternateContactType |
alternateContactType()
The type of alternate contact.
|
String |
alternateContactTypeAsString()
The type of alternate contact.
|
static AlternateContact.Builder |
builder() |
String |
emailAddress()
The email address associated with this alternate contact.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name associated with this alternate contact.
|
String |
phoneNumber()
The phone number associated with this alternate contact.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AlternateContact.Builder> |
serializableBuilderClass() |
String |
title()
The title associated with this alternate contact.
|
AlternateContact.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AlternateContactType alternateContactType()
The type of alternate contact.
If the service returns an enum value that is not available in the current SDK version,
alternateContactType will return AlternateContactType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from alternateContactTypeAsString().
AlternateContactTypepublic final String alternateContactTypeAsString()
The type of alternate contact.
If the service returns an enum value that is not available in the current SDK version,
alternateContactType will return AlternateContactType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from alternateContactTypeAsString().
AlternateContactTypepublic final String emailAddress()
The email address associated with this alternate contact.
public final String name()
The name associated with this alternate contact.
public final String phoneNumber()
The phone number associated with this alternate contact.
public final String title()
The title associated with this alternate contact.
public AlternateContact.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AlternateContact.Builder,AlternateContact>public static AlternateContact.Builder builder()
public static Class<? extends AlternateContact.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.