Class EmailTargetDetail
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EmailTargetDetail.Builder,EmailTargetDetail>
The campaign's attached recipient list, as read — metadata only.
No URL and no `S3Uri`, presigned or otherwise. The file is a list of email addresses belonging to people who are not the partner, so there is no read path for the bytes at all; what a caller needs is whether the list was accepted and how many recipients it resolved to.
The three counts describe the file as it was read when attached. They are absent for a list attached before the service began reading lists at upload.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal InstantWhen the list was attached.static EmailTargetDetail.Builderbuilder()final IntegerRows repeating an address already counted.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringfileName()The display name of the uploaded file, as the partner named it, with no path: for exampleQ4 leads.csv.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerRows skipped because their email cell is not a usable address.final ScanStatusThe scan verdict for the attached list.final StringThe scan verdict for the attached list.static Class<? extends EmailTargetDetail.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerDistinct usable addresses — the recipients an email activation sends to.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
scanStatus
The scan verdict for the attached list.
If the service returns an enum value that is not available in the current SDK version,
scanStatuswill returnScanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanStatusAsString().- Returns:
- The scan verdict for the attached list.
- See Also:
-
scanStatusAsString
The scan verdict for the attached list.
If the service returns an enum value that is not available in the current SDK version,
scanStatuswill returnScanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanStatusAsString().- Returns:
- The scan verdict for the attached list.
- See Also:
-
attachedAt
-
validCount
Distinct usable addresses — the recipients an email activation sends to.
- Returns:
- Distinct usable addresses — the recipients an email activation sends to.
-
rejectedCount
Rows skipped because their email cell is not a usable address.
- Returns:
- Rows skipped because their email cell is not a usable address.
-
duplicateCount
Rows repeating an address already counted. Not an error: each address is sent to once.
- Returns:
- Rows repeating an address already counted. Not an error: each address is sent to once.
-
fileName
The display name of the uploaded file, as the partner named it, with no path: for example
Q4 leads.csv. Absent for a list attached before the service kept the name. There is no link to the file: the list is never downloadable from the campaign.- Returns:
- The display name of the uploaded file, as the partner named it, with no path: for example
Q4 leads.csv. Absent for a list attached before the service kept the name. There is no link to the file: the list is never downloadable from the campaign.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<EmailTargetDetail.Builder,EmailTargetDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-