@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateTemplateRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A brief description of the template.
|
String |
getDomainId()
The unique identifier of the Cases domain.
|
LayoutConfiguration |
getLayoutConfiguration()
Configuration of layouts associated to the template.
|
String |
getName()
A name for the template.
|
List<RequiredField> |
getRequiredFields()
A list of fields that must contain a value for a case to be successfully created with this template.
|
String |
getStatus()
The status of the template.
|
int |
hashCode() |
void |
setDescription(String description)
A brief description of the template.
|
void |
setDomainId(String domainId)
The unique identifier of the Cases domain.
|
void |
setLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
|
void |
setName(String name)
A name for the template.
|
void |
setRequiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
void |
setStatus(String status)
The status of the template.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateRequest |
withDescription(String description)
A brief description of the template.
|
CreateTemplateRequest |
withDomainId(String domainId)
The unique identifier of the Cases domain.
|
CreateTemplateRequest |
withLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
|
CreateTemplateRequest |
withName(String name)
A name for the template.
|
CreateTemplateRequest |
withRequiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
CreateTemplateRequest |
withRequiredFields(RequiredField... requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
CreateTemplateRequest |
withStatus(String status)
The status of the template.
|
CreateTemplateRequest |
withStatus(TemplateStatus status)
The status of the template.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDescription(String description)
A brief description of the template.
description - A brief description of the template.public String getDescription()
A brief description of the template.
public CreateTemplateRequest withDescription(String description)
A brief description of the template.
description - A brief description of the template.public void setDomainId(String domainId)
The unique identifier of the Cases domain.
domainId - The unique identifier of the Cases domain.public String getDomainId()
The unique identifier of the Cases domain.
public CreateTemplateRequest withDomainId(String domainId)
The unique identifier of the Cases domain.
domainId - The unique identifier of the Cases domain.public void setLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
layoutConfiguration - Configuration of layouts associated to the template.public LayoutConfiguration getLayoutConfiguration()
Configuration of layouts associated to the template.
public CreateTemplateRequest withLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
layoutConfiguration - Configuration of layouts associated to the template.public void setName(String name)
A name for the template. It must be unique per domain.
name - A name for the template. It must be unique per domain.public String getName()
A name for the template. It must be unique per domain.
public CreateTemplateRequest withName(String name)
A name for the template. It must be unique per domain.
name - A name for the template. It must be unique per domain.public List<RequiredField> getRequiredFields()
A list of fields that must contain a value for a case to be successfully created with this template.
public void setRequiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
requiredFields - A list of fields that must contain a value for a case to be successfully created with this template.public CreateTemplateRequest withRequiredFields(RequiredField... requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
NOTE: This method appends the values to the existing list (if any). Use
setRequiredFields(java.util.Collection) or withRequiredFields(java.util.Collection) if you want
to override the existing values.
requiredFields - A list of fields that must contain a value for a case to be successfully created with this template.public CreateTemplateRequest withRequiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
requiredFields - A list of fields that must contain a value for a case to be successfully created with this template.public void setStatus(String status)
The status of the template.
status - The status of the template.TemplateStatuspublic String getStatus()
The status of the template.
TemplateStatuspublic CreateTemplateRequest withStatus(String status)
The status of the template.
status - The status of the template.TemplateStatuspublic CreateTemplateRequest withStatus(TemplateStatus status)
The status of the template.
status - The status of the template.TemplateStatuspublic String toString()
toString in class ObjectObject.toString()public CreateTemplateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()