@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTemplateRequest |
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()
The name of 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.
|
String |
getTemplateId()
A unique identifier for 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)
The name of 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.
|
void |
setTemplateId(String templateId)
A unique identifier for the template.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTemplateRequest |
withDescription(String description)
A brief description of the template.
|
UpdateTemplateRequest |
withDomainId(String domainId)
The unique identifier of the Cases domain.
|
UpdateTemplateRequest |
withLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
|
UpdateTemplateRequest |
withName(String name)
The name of the template.
|
UpdateTemplateRequest |
withRequiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
UpdateTemplateRequest |
withRequiredFields(RequiredField... requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
UpdateTemplateRequest |
withStatus(String status)
The status of the template.
|
UpdateTemplateRequest |
withStatus(TemplateStatus status)
The status of the template.
|
UpdateTemplateRequest |
withTemplateId(String templateId)
A unique identifier for 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, withSdkRequestTimeout
public 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 UpdateTemplateRequest 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 UpdateTemplateRequest 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 UpdateTemplateRequest withLayoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
layoutConfiguration
- Configuration of layouts associated to the template.public void setName(String name)
The name of the template. It must be unique per domain.
name
- The name of the template. It must be unique per domain.public String getName()
The name of the template. It must be unique per domain.
public UpdateTemplateRequest withName(String name)
The name of the template. It must be unique per domain.
name
- The name of 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 UpdateTemplateRequest 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 UpdateTemplateRequest 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.TemplateStatus
public String getStatus()
The status of the template.
TemplateStatus
public UpdateTemplateRequest withStatus(String status)
The status of the template.
status
- The status of the template.TemplateStatus
public UpdateTemplateRequest withStatus(TemplateStatus status)
The status of the template.
status
- The status of the template.TemplateStatus
public void setTemplateId(String templateId)
A unique identifier for the template.
templateId
- A unique identifier for the template.public String getTemplateId()
A unique identifier for the template.
public UpdateTemplateRequest withTemplateId(String templateId)
A unique identifier for the template.
templateId
- A unique identifier for the template.public String toString()
toString
in class Object
Object.toString()
public UpdateTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()