Interface UpdateTemplateRequest.Builder

    • 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: 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 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.

        Parameters:
        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 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.

        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: 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 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.

        This is a convenience method that creates an instance of the TemplateSourceEntity.Builder avoiding the need to create one manually via TemplateSourceEntity.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceEntity(TemplateSourceEntity).

        Parameters:
        sourceEntity - a consumer that will call methods on TemplateSourceEntity.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 the VersionDescription field.

        Parameters:
        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.
        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.
      • 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.