Class UpdateTemplateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.quicksight.model.QuickSightRequest
-
- software.amazon.awssdk.services.quicksight.model.UpdateTemplateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateTemplateRequest.Builder,UpdateTemplateRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateTemplateRequest extends QuickSightRequest implements ToCopyableBuilder<UpdateTemplateRequest.Builder,UpdateTemplateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateTemplateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsAccountId()The ID of the Amazon Web Services account that contains the template that you're updating.static UpdateTemplateRequest.Builderbuilder()TemplateVersionDefinitiondefinition()The definition of a template.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name for the template.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateTemplateRequest.Builder>serializableBuilderClass()TemplateSourceEntitysourceEntity()The entity that you are using as a source when you update the template.StringtemplateId()The ID for the template.UpdateTemplateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ValidationStrategyvalidationStrategy()The option to relax the validation needed to update a template with definition objects.StringversionDescription()A description of the current template version that is being updated.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
awsAccountId
public final String awsAccountId()
The ID of the Amazon Web Services account that contains the template that you're updating.
- Returns:
- The ID of the Amazon Web Services account that contains the template that you're updating.
-
templateId
public final String templateId()
The ID for the template.
- Returns:
- The ID for the template.
-
sourceEntity
public final 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:SourceTemplatefor a template orSourceAnalysisfor an analysis. Both of these require an Amazon Resource Name (ARN). ForSourceTemplate, specify the ARN of the source template. ForSourceAnalysis, specify the ARN of the source analysis. TheSourceTemplateARN can contain any Amazon Web Services account and any QuickSight-supported Amazon Web Services Region;.Use the
DataSetReferencesentity withinSourceTemplateorSourceAnalysisto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.- Returns:
- 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:SourceTemplatefor a template orSourceAnalysisfor an analysis. Both of these require an Amazon Resource Name (ARN). ForSourceTemplate, specify the ARN of the source template. ForSourceAnalysis, specify the ARN of the source analysis. TheSourceTemplateARN can contain any Amazon Web Services account and any QuickSight-supported Amazon Web Services Region;.Use the
DataSetReferencesentity withinSourceTemplateorSourceAnalysisto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.
-
versionDescription
public final 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 theVersionDescriptionfield.- Returns:
- 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 theVersionDescriptionfield.
-
name
public final String name()
The name for the template.
- Returns:
- The name for the template.
-
definition
public final TemplateVersionDefinition definition()
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
- Returns:
- The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
-
validationStrategy
public final ValidationStrategy validationStrategy()
The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.
- Returns:
- The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.
-
toBuilder
public UpdateTemplateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateTemplateRequest.Builder,UpdateTemplateRequest>- Specified by:
toBuilderin classQuickSightRequest
-
builder
public static UpdateTemplateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateTemplateRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-