@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 |
getAwsAccountId()
The ID of the Amazon Web Services account that contains the template that you're updating.
|
TemplateVersionDefinition |
getDefinition()
The definition of a template.
|
String |
getName()
The name for the template.
|
TemplateSourceEntity |
getSourceEntity()
The entity that you are using as a source when you update the template.
|
String |
getTemplateId()
The ID for the template.
|
ValidationStrategy |
getValidationStrategy()
The option to relax the validation needed to update a template with definition objects.
|
String |
getVersionDescription()
A description of the current template version that is being updated.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the template that you're updating.
|
void |
setDefinition(TemplateVersionDefinition definition)
The definition of a template.
|
void |
setName(String name)
The name for the template.
|
void |
setSourceEntity(TemplateSourceEntity sourceEntity)
The entity that you are using as a source when you update the template.
|
void |
setTemplateId(String templateId)
The ID for the template.
|
void |
setValidationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to update a template with definition objects.
|
void |
setVersionDescription(String versionDescription)
A description of the current template version that is being updated.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTemplateRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the template that you're updating.
|
UpdateTemplateRequest |
withDefinition(TemplateVersionDefinition definition)
The definition of a template.
|
UpdateTemplateRequest |
withName(String name)
The name for the template.
|
UpdateTemplateRequest |
withSourceEntity(TemplateSourceEntity sourceEntity)
The entity that you are using as a source when you update the template.
|
UpdateTemplateRequest |
withTemplateId(String templateId)
The ID for the template.
|
UpdateTemplateRequest |
withValidationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to update a template with definition objects.
|
UpdateTemplateRequest |
withVersionDescription(String versionDescription)
A description of the current template version that is being updated.
|
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 of the Amazon Web Services account that contains the template that you're updating.
awsAccountId
- The ID of the Amazon Web Services account that contains the template that you're updating.public String getAwsAccountId()
The ID of the Amazon Web Services account that contains the template that you're updating.
public UpdateTemplateRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the template that you're updating.
awsAccountId
- The ID of the Amazon Web Services account that contains the template that you're updating.public void setTemplateId(String templateId)
The ID for the template.
templateId
- The ID for the template.public String getTemplateId()
The ID for the template.
public UpdateTemplateRequest withTemplateId(String templateId)
The ID for the template.
templateId
- The ID for the template.public void setSourceEntity(TemplateSourceEntity sourceEntity)
The entity that you are using as a source when you update the template. In SourceEntity
, you specify
the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
, specify the
ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web Services account and
any Amazon QuickSight-supported Amazon Web Services Region;.
Use the DataSetReferences
entity within SourceTemplate
or SourceAnalysis
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must
match its placeholder.
sourceEntity
- The entity that you are using as a source when you update the template. In SourceEntity
, you
specify the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
,
specify the ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web
Services account and any Amazon QuickSight-supported Amazon Web Services Region;.
Use the DataSetReferences
entity within SourceTemplate
or
SourceAnalysis
to list the replacement datasets for the placeholders listed in the original.
The schema in each dataset must match its placeholder.
public TemplateSourceEntity getSourceEntity()
The entity that you are using as a source when you update the template. In SourceEntity
, you specify
the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
, specify the
ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web Services account and
any Amazon QuickSight-supported Amazon Web Services Region;.
Use the DataSetReferences
entity within SourceTemplate
or SourceAnalysis
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must
match its placeholder.
SourceEntity
, you
specify the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
,
specify the ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web
Services account and any Amazon QuickSight-supported Amazon Web Services Region;.
Use the DataSetReferences
entity within SourceTemplate
or
SourceAnalysis
to list the replacement datasets for the placeholders listed in the original.
The schema in each dataset must match its placeholder.
public UpdateTemplateRequest withSourceEntity(TemplateSourceEntity sourceEntity)
The entity that you are using as a source when you update the template. In SourceEntity
, you specify
the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
, specify the
ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web Services account and
any Amazon QuickSight-supported Amazon Web Services Region;.
Use the DataSetReferences
entity within SourceTemplate
or SourceAnalysis
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must
match its placeholder.
sourceEntity
- The entity that you are using as a source when you update the template. In SourceEntity
, you
specify the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
,
specify the ARN of the source analysis. The SourceTemplate
ARN can contain any Amazon Web
Services account and any Amazon QuickSight-supported Amazon Web Services Region;.
Use the DataSetReferences
entity within SourceTemplate
or
SourceAnalysis
to list the replacement datasets for the placeholders listed in the original.
The schema in each dataset must match its placeholder.
public void setVersionDescription(String versionDescription)
A description of the current template version that is being updated. Every time you call
UpdateTemplate
, you create a new version of the template. Each version of the template maintains a
description of the version in the VersionDescription
field.
versionDescription
- A description of the current template version that is being updated. Every time you call
UpdateTemplate
, you create a new version of the template. 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 that is being updated. Every time you call
UpdateTemplate
, you create a new version of the template. Each version of the template maintains a
description of the version in the VersionDescription
field.
UpdateTemplate
, you create a new version of the template. Each version of the template
maintains a description of the version in the VersionDescription
field.public UpdateTemplateRequest withVersionDescription(String versionDescription)
A description of the current template version that is being updated. Every time you call
UpdateTemplate
, you create a new version of the template. Each version of the template maintains a
description of the version in the VersionDescription
field.
versionDescription
- A description of the current template version that is being updated. Every time you call
UpdateTemplate
, you create a new version of the template. Each version of the template
maintains a description of the version in the VersionDescription
field.public void setName(String name)
The name for the template.
name
- The name for the template.public String getName()
The name for the template.
public UpdateTemplateRequest withName(String name)
The name for the template.
name
- The name for the template.public void setDefinition(TemplateVersionDefinition definition)
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
definition
- The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
public TemplateVersionDefinition getDefinition()
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
public UpdateTemplateRequest withDefinition(TemplateVersionDefinition definition)
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
definition
- The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
public void setValidationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.
validationStrategy
- The option to relax the validation needed to update a template with definition objects. This skips the
validation step for specific errors.public ValidationStrategy getValidationStrategy()
The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.
public UpdateTemplateRequest withValidationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.
validationStrategy
- The option to relax the validation needed to update a template with definition objects. This skips the
validation step for specific errors.public String toString()
toString
in class Object
Object.toString()
public UpdateTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()