Class ReferenceMaterial
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReferenceMaterial.Builder,ReferenceMaterial>
A reference material that comes with a campaign template: a file the partner downloads as-is.
Not a blueprint: it carries no fields, cannot be instantiated, and is not activated.
Not the ReferenceMaterial resource deleted on 2026-09-22 (its six operations, ARN and record are gone).
That was partner-uploaded and addressable; this is AWS-authored template content with no identity of its own.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ReferenceMaterial.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The display name.static Class<? extends ReferenceMaterial.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 Stringurl()A stable public CDN URL for the file.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
url
A stable public CDN URL for the file. AWS-authored content, so it is not presigned and carries no expiry — the same treatment as
LayoutPreview.url, and withheld on the same condition: absent while the template'sEffectiveDateBeginis in the future.- Returns:
- A stable public CDN URL for the file. AWS-authored content, so it is not presigned and carries no expiry
— the same treatment as
LayoutPreview.url, and withheld on the same condition: absent while the template'sEffectiveDateBeginis in the future.
-
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<ReferenceMaterial.Builder,ReferenceMaterial> - 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.
-