@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAnalysisTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateAnalysisTemplateRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateAnalysisTemplateRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAnalysisTemplateRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAnalysisTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<AnalysisParameter> |
getAnalysisParameters()
The parameters of the analysis template.
|
String |
getDescription()
The description of the analysis template.
|
String |
getFormat()
The format of the analysis template.
|
String |
getMembershipIdentifier()
The identifier for a membership resource.
|
String |
getName()
The name of the analysis template.
|
AnalysisSource |
getSource()
The information in the analysis template.
|
Map<String,String> |
getTags()
An optional label that you can assign to a resource when you create it.
|
int |
hashCode() |
void |
setAnalysisParameters(Collection<AnalysisParameter> analysisParameters)
The parameters of the analysis template.
|
void |
setDescription(String description)
The description of the analysis template.
|
void |
setFormat(String format)
The format of the analysis template.
|
void |
setMembershipIdentifier(String membershipIdentifier)
The identifier for a membership resource.
|
void |
setName(String name)
The name of the analysis template.
|
void |
setSource(AnalysisSource source)
The information in the analysis template.
|
void |
setTags(Map<String,String> tags)
An optional label that you can assign to a resource when you create it.
|
String |
toString()
Returns a string representation of this object.
|
CreateAnalysisTemplateRequest |
withAnalysisParameters(AnalysisParameter... analysisParameters)
The parameters of the analysis template.
|
CreateAnalysisTemplateRequest |
withAnalysisParameters(Collection<AnalysisParameter> analysisParameters)
The parameters of the analysis template.
|
CreateAnalysisTemplateRequest |
withDescription(String description)
The description of the analysis template.
|
CreateAnalysisTemplateRequest |
withFormat(AnalysisFormat format)
The format of the analysis template.
|
CreateAnalysisTemplateRequest |
withFormat(String format)
The format of the analysis template.
|
CreateAnalysisTemplateRequest |
withMembershipIdentifier(String membershipIdentifier)
The identifier for a membership resource.
|
CreateAnalysisTemplateRequest |
withName(String name)
The name of the analysis template.
|
CreateAnalysisTemplateRequest |
withSource(AnalysisSource source)
The information in the analysis template.
|
CreateAnalysisTemplateRequest |
withTags(Map<String,String> tags)
An optional label that you can assign to a resource when you create it.
|
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)
The description of the analysis template.
description - The description of the analysis template.public String getDescription()
The description of the analysis template.
public CreateAnalysisTemplateRequest withDescription(String description)
The description of the analysis template.
description - The description of the analysis template.public void setMembershipIdentifier(String membershipIdentifier)
The identifier for a membership resource.
membershipIdentifier - The identifier for a membership resource.public String getMembershipIdentifier()
The identifier for a membership resource.
public CreateAnalysisTemplateRequest withMembershipIdentifier(String membershipIdentifier)
The identifier for a membership resource.
membershipIdentifier - The identifier for a membership resource.public void setName(String name)
The name of the analysis template.
name - The name of the analysis template.public String getName()
The name of the analysis template.
public CreateAnalysisTemplateRequest withName(String name)
The name of the analysis template.
name - The name of the analysis template.public void setFormat(String format)
The format of the analysis template.
format - The format of the analysis template.AnalysisFormatpublic String getFormat()
The format of the analysis template.
AnalysisFormatpublic CreateAnalysisTemplateRequest withFormat(String format)
The format of the analysis template.
format - The format of the analysis template.AnalysisFormatpublic CreateAnalysisTemplateRequest withFormat(AnalysisFormat format)
The format of the analysis template.
format - The format of the analysis template.AnalysisFormatpublic void setSource(AnalysisSource source)
The information in the analysis template. Currently supports text, the query text for the analysis
template.
source - The information in the analysis template. Currently supports text, the query text for the
analysis template.public AnalysisSource getSource()
The information in the analysis template. Currently supports text, the query text for the analysis
template.
text, the query text for the
analysis template.public CreateAnalysisTemplateRequest withSource(AnalysisSource source)
The information in the analysis template. Currently supports text, the query text for the analysis
template.
source - The information in the analysis template. Currently supports text, the query text for the
analysis template.public Map<String,String> getTags()
An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
public void setTags(Map<String,String> tags)
An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
tags - An optional label that you can assign to a resource when you create it. Each tag consists of a key and an
optional value, both of which you define. When you use tagging, you can also use tag-based access control
in IAM policies to control access to this resource.public CreateAnalysisTemplateRequest withTags(Map<String,String> tags)
An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
tags - An optional label that you can assign to a resource when you create it. Each tag consists of a key and an
optional value, both of which you define. When you use tagging, you can also use tag-based access control
in IAM policies to control access to this resource.public CreateAnalysisTemplateRequest addTagsEntry(String key, String value)
public CreateAnalysisTemplateRequest clearTagsEntries()
public List<AnalysisParameter> getAnalysisParameters()
The parameters of the analysis template.
public void setAnalysisParameters(Collection<AnalysisParameter> analysisParameters)
The parameters of the analysis template.
analysisParameters - The parameters of the analysis template.public CreateAnalysisTemplateRequest withAnalysisParameters(AnalysisParameter... analysisParameters)
The parameters of the analysis template.
NOTE: This method appends the values to the existing list (if any). Use
setAnalysisParameters(java.util.Collection) or withAnalysisParameters(java.util.Collection) if
you want to override the existing values.
analysisParameters - The parameters of the analysis template.public CreateAnalysisTemplateRequest withAnalysisParameters(Collection<AnalysisParameter> analysisParameters)
The parameters of the analysis template.
analysisParameters - The parameters of the analysis template.public String toString()
toString in class ObjectObject.toString()public CreateAnalysisTemplateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()