Interface UpdateTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTemplateRequest.Builder,UpdateTemplateRequest>,QuickSightRequest.Builder,SdkBuilder<UpdateTemplateRequest.Builder,UpdateTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateTemplateRequest
public static interface UpdateTemplateRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<UpdateTemplateRequest.Builder,UpdateTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateTemplateRequest.BuilderawsAccountId(String awsAccountId)The ID of the Amazon Web Services account that contains the template that you're updating.default UpdateTemplateRequest.Builderdefinition(Consumer<TemplateVersionDefinition.Builder> definition)The definition of a template.UpdateTemplateRequest.Builderdefinition(TemplateVersionDefinition definition)The definition of a template.UpdateTemplateRequest.Buildername(String name)The name for the template.UpdateTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateTemplateRequest.BuildersourceEntity(Consumer<TemplateSourceEntity.Builder> sourceEntity)The entity that you are using as a source when you update the template.UpdateTemplateRequest.BuildersourceEntity(TemplateSourceEntity sourceEntity)The entity that you are using as a source when you update the template.UpdateTemplateRequest.BuildertemplateId(String templateId)The ID for the template.default UpdateTemplateRequest.BuildervalidationStrategy(Consumer<ValidationStrategy.Builder> validationStrategy)The option to relax the validation needed to update a template with definition objects.UpdateTemplateRequest.BuildervalidationStrategy(ValidationStrategy validationStrategy)The option to relax the validation needed to update a template with definition objects.UpdateTemplateRequest.BuilderversionDescription(String versionDescription)A description of the current template version that is being updated.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
awsAccountId
UpdateTemplateRequest.Builder awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the template that you're updating.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account that contains the template that you're updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateId
UpdateTemplateRequest.Builder templateId(String templateId)
The ID for the template.
- Parameters:
templateId- The ID for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEntity
UpdateTemplateRequest.Builder sourceEntity(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 Amazon 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.- Parameters:
sourceEntity- The entity that you are using as a source when you update the template. InSourceEntity, 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 Amazon 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:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEntity
default UpdateTemplateRequest.Builder sourceEntity(Consumer<TemplateSourceEntity.Builder> 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 Amazon QuickSight-supported Amazon Web Services Region;.Use the
This is a convenience method that creates an instance of theDataSetReferencesentity withinSourceTemplateorSourceAnalysisto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.TemplateSourceEntity.Builderavoiding the need to create one manually viaTemplateSourceEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceEntity(TemplateSourceEntity).- Parameters:
sourceEntity- a consumer that will call methods onTemplateSourceEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceEntity(TemplateSourceEntity)
-
versionDescription
UpdateTemplateRequest.Builder versionDescription(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.- Parameters:
versionDescription- A description of the current template version that is being updated. Every time you callUpdateTemplate, you create a new version of the template. Each version of the template maintains a description of the version in theVersionDescriptionfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateTemplateRequest.Builder name(String name)
The name for the template.
- Parameters:
name- The name for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
UpdateTemplateRequest.Builder definition(TemplateVersionDefinition definition)
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
- Parameters:
definition- The definition of a template.A definition is the data model of all features in a Dashboard, Template, or Analysis.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default UpdateTemplateRequest.Builder definition(Consumer<TemplateVersionDefinition.Builder> definition)
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
This is a convenience method that creates an instance of theTemplateVersionDefinition.Builderavoiding the need to create one manually viaTemplateVersionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(TemplateVersionDefinition).- Parameters:
definition- a consumer that will call methods onTemplateVersionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(TemplateVersionDefinition)
-
validationStrategy
UpdateTemplateRequest.Builder validationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.
- Parameters:
validationStrategy- The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationStrategy
default UpdateTemplateRequest.Builder validationStrategy(Consumer<ValidationStrategy.Builder> validationStrategy)
The option to relax the validation needed to update a template with definition objects. This skips the validation step for specific errors.
This is a convenience method that creates an instance of theValidationStrategy.Builderavoiding the need to create one manually viaValidationStrategy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidationStrategy(ValidationStrategy).- Parameters:
validationStrategy- a consumer that will call methods onValidationStrategy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
validationStrategy(ValidationStrategy)
-
overrideConfiguration
UpdateTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-