@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 Amazon Resource Name (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 that 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 Amazon Resource Name (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 that 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 Amazon Resource Name (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 that 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, withSdkRequestTimeout
public 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 that you want to create. This template is unique per AWS Region in each AWS account.
templateId
- An ID for the template that you want to create. This template is unique per AWS Region in each AWS
account.public String getTemplateId()
An ID for the template that you want to create. This template is unique per AWS Region in each AWS account.
public CreateTemplateRequest withTemplateId(String templateId)
An ID for the template that you want to create. This template is unique per AWS Region in each AWS account.
templateId
- An ID for the template that you want to create. This template is unique per AWS Region in each 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.
public void setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
permissions
- A list of resource permissions to be set on the template.public CreateTemplateRequest withPermissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template.
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.public CreateTemplateRequest withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
permissions
- A list of resource permissions to be set on the template.public void setSourceEntity(TemplateSourceEntity sourceEntity)
The Amazon Resource Name (ARN) of the source entity from which this template is being created. Currently, you can create a template from an analysis or another template. If the ARN is for an analysis, include its dataset references.
sourceEntity
- The Amazon Resource Name (ARN) of the source entity from which this template is being created. Currently,
you can create a template from an analysis or another template. If the ARN is for an analysis, include its
dataset references.public TemplateSourceEntity getSourceEntity()
The Amazon Resource Name (ARN) of the source entity from which this template is being created. Currently, you can create a template from an analysis or another template. If the ARN is for an analysis, include its dataset references.
public CreateTemplateRequest withSourceEntity(TemplateSourceEntity sourceEntity)
The Amazon Resource Name (ARN) of the source entity from which this template is being created. Currently, you can create a template from an analysis or another template. If the ARN is for an analysis, include its dataset references.
sourceEntity
- The Amazon Resource Name (ARN) of the source entity from which this template is being created. Currently,
you can create a template from an analysis or another template. If the ARN is for an analysis, 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 operation creates 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 operation creates 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 operation creates 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.
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 operation creates 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 operation creates 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 Object
Object.toString()
public CreateTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.