public class TemplateRef extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static TemplateRef |
fromString(String templateBody) |
static TemplateRef |
fromUrl(String url) |
String |
getBody()
Returns a template body or
null if the template is uploaded to S3 and the reference represents template
URL. |
String |
getUrl()
Returns a template url or
null in case this is a reference to the template body. |
int |
hashCode() |
String |
toString() |
@Nullable public String getUrl()
null in case this is a reference to the template body.@Nullable public String getBody()
null if the template is uploaded to S3 and the reference represents template
URL.public static TemplateRef fromUrl(String url)
public static TemplateRef fromString(String templateBody)
Copyright © 2022. All rights reserved.