Class Relay
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.Relay
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Relay.Builder,Relay>
@Generated("software.amazon.awssdk:codegen") public final class Relay extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Relay.Builder,Relay>
The relay resource that can be used as a rule to relay receiving emails to the destination relay server.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRelay.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Relay.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTimestamp()The timestamp of when the relay was last modified.StringrelayId()The unique relay identifier.StringrelayName()The unique relay name.List<SdkField<?>>sdkFields()static Class<? extends Relay.Builder>serializableBuilderClass()Relay.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
-
lastModifiedTimestamp
public final Instant lastModifiedTimestamp()
The timestamp of when the relay was last modified.
- Returns:
- The timestamp of when the relay was last modified.
-
relayId
public final String relayId()
The unique relay identifier.
- Returns:
- The unique relay identifier.
-
relayName
public final String relayName()
The unique relay name.
- Returns:
- The unique relay name.
-
toBuilder
public Relay.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Relay.Builder,Relay>
-
builder
public static Relay.Builder builder()
-
serializableBuilderClass
public static Class<? extends Relay.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.
-
-