Class AlternateContact
- java.lang.Object
-
- software.amazon.awssdk.services.account.model.AlternateContact
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AlternateContact.Builder,AlternateContact>
@Generated("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
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAlternateContact.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AlternateContactTypealternateContactType()The type of alternate contact.StringalternateContactTypeAsString()The type of alternate contact.static AlternateContact.Builderbuilder()StringemailAddress()The email address associated with this alternate contact.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name associated with this alternate contact.StringphoneNumber()The phone number associated with this alternate contact.List<SdkField<?>>sdkFields()static Class<? extends AlternateContact.Builder>serializableBuilderClass()Stringtitle()The title associated with this alternate contact.AlternateContact.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
alternateContactType
public final AlternateContactType alternateContactType()
The type of alternate contact.
If the service returns an enum value that is not available in the current SDK version,
alternateContactTypewill returnAlternateContactType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalternateContactTypeAsString().- Returns:
- The type of alternate contact.
- See Also:
AlternateContactType
-
alternateContactTypeAsString
public final String alternateContactTypeAsString()
The type of alternate contact.
If the service returns an enum value that is not available in the current SDK version,
alternateContactTypewill returnAlternateContactType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalternateContactTypeAsString().- Returns:
- The type of alternate contact.
- See Also:
AlternateContactType
-
emailAddress
public final String emailAddress()
The email address associated with this alternate contact.
- Returns:
- The email address associated with this alternate contact.
-
name
public final String name()
The name associated with this alternate contact.
- Returns:
- The name associated with this alternate contact.
-
phoneNumber
public final String phoneNumber()
The phone number associated with this alternate contact.
- Returns:
- The phone number associated with this alternate contact.
-
title
public final String title()
The title associated with this alternate contact.
- Returns:
- The title associated with this alternate contact.
-
toBuilder
public AlternateContact.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AlternateContact.Builder,AlternateContact>
-
builder
public static AlternateContact.Builder builder()
-
serializableBuilderClass
public static Class<? extends AlternateContact.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.
-
-