Class Metadata
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.Metadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Metadata.Builder,Metadata>
@Generated("software.amazon.awssdk:codegen") public final class Metadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Metadata.Builder,Metadata>
The metadata about the email.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Metadata.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringingressPointId()The ID of the ingress endpoint through which the email was received.StringruleSetId()The ID of the rule set that processed the email.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()StringsenderHostname()The name of the host from which the email was received.StringsenderIpAddress()The IP address of the host from which the email was received.static Class<? extends Metadata.Builder>serializableBuilderClass()Instanttimestamp()The timestamp of when the email was received.StringtlsCipherSuite()The TLS cipher suite used to communicate with the host from which the email was received.StringtlsProtocol()The TLS protocol used to communicate with the host from which the email was received.Metadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrafficPolicyId()The ID of the traffic policy that was in effect when the email was received.-
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
-
ingressPointId
public final String ingressPointId()
The ID of the ingress endpoint through which the email was received.
- Returns:
- The ID of the ingress endpoint through which the email was received.
-
ruleSetId
public final String ruleSetId()
The ID of the rule set that processed the email.
- Returns:
- The ID of the rule set that processed the email.
-
senderHostname
public final String senderHostname()
The name of the host from which the email was received.
- Returns:
- The name of the host from which the email was received.
-
senderIpAddress
public final String senderIpAddress()
The IP address of the host from which the email was received.
- Returns:
- The IP address of the host from which the email was received.
-
timestamp
public final Instant timestamp()
The timestamp of when the email was received.
- Returns:
- The timestamp of when the email was received.
-
tlsCipherSuite
public final String tlsCipherSuite()
The TLS cipher suite used to communicate with the host from which the email was received.
- Returns:
- The TLS cipher suite used to communicate with the host from which the email was received.
-
tlsProtocol
public final String tlsProtocol()
The TLS protocol used to communicate with the host from which the email was received.
- Returns:
- The TLS protocol used to communicate with the host from which the email was received.
-
trafficPolicyId
public final String trafficPolicyId()
The ID of the traffic policy that was in effect when the email was received.
- Returns:
- The ID of the traffic policy that was in effect when the email was received.
-
toBuilder
public Metadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Metadata.Builder,Metadata>
-
builder
public static Metadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends Metadata.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-