@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 |
getAwsAccountId()
The ID for the AWS account that the group is in.
|
String |
getName()
A display name for the template.
|
List<ResourcePermission> |
getPermissions()
A list of resource permissions to be set on the template.
|
TemplateSourceEntity |
getSourceEntity()
The ARN of the source entity from which this template is being created.
|
List<Tag> |
getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
String |
getTemplateId()
An ID for the template you want to create.
|
String |
getVersionDescription()
A description of the current template version being created.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID for the AWS account that the group is in.
|
void |
setName(String name)
A display name for the template.
|
void |
setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
|
void |
setSourceEntity(TemplateSourceEntity sourceEntity)
The ARN of the source entity from which this template is being created.
|
void |
setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
void |
setTemplateId(String templateId)
An ID for the template you want to create.
|
void |
setVersionDescription(String versionDescription)
A description of the current template version being created.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateRequest |
withAwsAccountId(String awsAccountId)
The ID for the AWS account that the group is in.
|
CreateTemplateRequest |
withName(String name)
A display name for the template.
|
CreateTemplateRequest |
withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
|
CreateTemplateRequest |
withPermissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template.
|
CreateTemplateRequest |
withSourceEntity(TemplateSourceEntity sourceEntity)
The ARN of the source entity from which this template is being created.
|
CreateTemplateRequest |
withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
CreateTemplateRequest |
withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
CreateTemplateRequest |
withTemplateId(String templateId)
An ID for the template you want to create.
|
CreateTemplateRequest |
withVersionDescription(String versionDescription)
A description of the current template version being created.
|
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 setAwsAccountId(String awsAccountId)
The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
awsAccountId - The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that
contains your Amazon QuickSight account.public String getAwsAccountId()
The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
public CreateTemplateRequest withAwsAccountId(String awsAccountId)
The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
awsAccountId - The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that
contains your Amazon QuickSight account.public void setTemplateId(String templateId)
An ID for the template you want to create. This is unique per AWS region per AWS account.
templateId - An ID for the template you want to create. This is unique per AWS region per AWS account.public String getTemplateId()
An ID for the template you want to create. This is unique per AWS region per AWS account.
public CreateTemplateRequest withTemplateId(String templateId)
An ID for the template you want to create. This is unique per AWS region per AWS account.
templateId - An ID for the template you want to create. This is unique per AWS region per AWS account.public void setName(String name)
A display name for the template.
name - A display name for the template.public String getName()
A display name for the template.
public CreateTemplateRequest withName(String name)
A display name for the template.
name - A display name for the template.public List<ResourcePermission> getPermissions()
A list of resource permissions to be set on the template. The shorthand syntax should look similar to this:
Shorthand Syntax: Principal=string,Actions=string,string ...
Shorthand Syntax: Principal=string,Actions=string,string ... public void setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template. The shorthand syntax should look similar to this:
Shorthand Syntax: Principal=string,Actions=string,string ...
permissions - A list of resource permissions to be set on the template. The shorthand syntax should look similar to
this: Shorthand Syntax: Principal=string,Actions=string,string ... public CreateTemplateRequest withPermissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template. The shorthand syntax should look similar to this:
Shorthand Syntax: Principal=string,Actions=string,string ...
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection) or withPermissions(java.util.Collection) if you want to
override the existing values.
permissions - A list of resource permissions to be set on the template. The shorthand syntax should look similar to
this: Shorthand Syntax: Principal=string,Actions=string,string ... public CreateTemplateRequest withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template. The shorthand syntax should look similar to this:
Shorthand Syntax: Principal=string,Actions=string,string ...
permissions - A list of resource permissions to be set on the template. The shorthand syntax should look similar to
this: Shorthand Syntax: Principal=string,Actions=string,string ... public void setSourceEntity(TemplateSourceEntity sourceEntity)
The ARN of the source entity from which this template is being created. Templates can be currently created from an analysis or another template. If the ARN is for an analysis, you must include its dataset references.
sourceEntity - The ARN of the source entity from which this template is being created. Templates can be currently created
from an analysis or another template. If the ARN is for an analysis, you must include its dataset
references.public TemplateSourceEntity getSourceEntity()
The ARN of the source entity from which this template is being created. Templates can be currently created from an analysis or another template. If the ARN is for an analysis, you must include its dataset references.
public CreateTemplateRequest withSourceEntity(TemplateSourceEntity sourceEntity)
The ARN of the source entity from which this template is being created. Templates can be currently created from an analysis or another template. If the ARN is for an analysis, you must include its dataset references.
sourceEntity - The ARN of the source entity from which this template is being created. Templates can be currently created
from an analysis or another template. If the ARN is for an analysis, you must include its dataset
references.public List<Tag> getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
public void setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.public CreateTemplateRequest withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.public CreateTemplateRequest withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.public void setVersionDescription(String versionDescription)
A description of the current template version being created. This API created the first version of the template. Every time UpdateTemplate is called a new version is created. Each version of the template maintains a description of the version in the VersionDescription field.
versionDescription - A description of the current template version being created. This API created the first version of the
template. Every time UpdateTemplate is called a new version is created. Each version of the template
maintains a description of the version in the VersionDescription field.public String getVersionDescription()
A description of the current template version being created. This API created the first version of the template. Every time UpdateTemplate is called a new version is created. Each version of the template maintains a description of the version in the VersionDescription field.
public CreateTemplateRequest withVersionDescription(String versionDescription)
A description of the current template version being created. This API created the first version of the template. Every time UpdateTemplate is called a new version is created. Each version of the template maintains a description of the version in the VersionDescription field.
versionDescription - A description of the current template version being created. This API created the first version of the
template. Every time UpdateTemplate is called a new version is created. Each version of the template
maintains a description of the version in the VersionDescription field.public String toString()
toString in class ObjectObject.toString()public CreateTemplateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.