@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateTemplateResult() |
Modifier and Type | Method and Description |
---|---|
CreateTemplateResult |
clone() |
boolean |
equals(Object obj) |
String |
getTemplateArn()
The Amazon Resource Name (ARN) of the newly created template.
|
String |
getTemplateId()
A unique identifier of a template.
|
int |
hashCode() |
void |
setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the newly created template.
|
void |
setTemplateId(String templateId)
A unique identifier of a template.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateResult |
withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the newly created template.
|
CreateTemplateResult |
withTemplateId(String templateId)
A unique identifier of a template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the newly created template.
templateArn
- The Amazon Resource Name (ARN) of the newly created template.public String getTemplateArn()
The Amazon Resource Name (ARN) of the newly created template.
public CreateTemplateResult withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the newly created template.
templateArn
- The Amazon Resource Name (ARN) of the newly created template.public void setTemplateId(String templateId)
A unique identifier of a template.
templateId
- A unique identifier of a template.public String getTemplateId()
A unique identifier of a template.
public CreateTemplateResult withTemplateId(String templateId)
A unique identifier of a template.
templateId
- A unique identifier of a template.public String toString()
toString
in class Object
Object.toString()
public CreateTemplateResult clone()