Interface CreateTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTemplateRequest.Builder,CreateTemplateRequest>,QuickSightRequest.Builder,SdkBuilder<CreateTemplateRequest.Builder,CreateTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateTemplateRequest
@Mutable @NotThreadSafe public static interface CreateTemplateRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<CreateTemplateRequest.Builder,CreateTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTemplateRequest.BuilderawsAccountId(String awsAccountId)The ID for the Amazon Web Services account that the group is in.default CreateTemplateRequest.Builderdefinition(Consumer<TemplateVersionDefinition.Builder> definition)The definition of a template.CreateTemplateRequest.Builderdefinition(TemplateVersionDefinition definition)The definition of a template.CreateTemplateRequest.Buildername(String name)A display name for the template.CreateTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTemplateRequest.Builderpermissions(Collection<ResourcePermission> permissions)A list of resource permissions to be set on the template.CreateTemplateRequest.Builderpermissions(Consumer<ResourcePermission.Builder>... permissions)A list of resource permissions to be set on the template.CreateTemplateRequest.Builderpermissions(ResourcePermission... permissions)A list of resource permissions to be set on the template.default CreateTemplateRequest.BuildersourceEntity(Consumer<TemplateSourceEntity.Builder> sourceEntity)The entity that you are using as a source when you create the template.CreateTemplateRequest.BuildersourceEntity(TemplateSourceEntity sourceEntity)The entity that you are using as a source when you create the template.CreateTemplateRequest.Buildertags(Collection<Tag> tags)Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.CreateTemplateRequest.Buildertags(Consumer<Tag.Builder>... tags)Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.CreateTemplateRequest.Buildertags(Tag... tags)Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.CreateTemplateRequest.BuildertemplateId(String templateId)An ID for the template that you want to create.default CreateTemplateRequest.BuildervalidationStrategy(Consumer<ValidationStrategy.Builder> validationStrategy)TThe option to relax the validation needed to create a template with definition objects.CreateTemplateRequest.BuildervalidationStrategy(ValidationStrategy validationStrategy)TThe option to relax the validation needed to create a template with definition objects.CreateTemplateRequest.BuilderversionDescription(String versionDescription)A description of the current template version being created.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
awsAccountId
CreateTemplateRequest.Builder awsAccountId(String awsAccountId)
The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
- Parameters:
awsAccountId- The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateId
CreateTemplateRequest.Builder templateId(String templateId)
An ID for the template that you want to create. This template is unique per Amazon Web Services Region; in each Amazon Web Services account.
- Parameters:
templateId- An ID for the template that you want to create. This template is unique per Amazon Web Services Region; in each Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateTemplateRequest.Builder name(String name)
A display name for the template.
- Parameters:
name- A display name for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
CreateTemplateRequest.Builder permissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
- Parameters:
permissions- A list of resource permissions to be set on the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
CreateTemplateRequest.Builder permissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template.
- Parameters:
permissions- A list of resource permissions to be set on the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
CreateTemplateRequest.Builder permissions(Consumer<ResourcePermission.Builder>... permissions)
A list of resource permissions to be set on the template.
This is a convenience method that creates an instance of theResourcePermission.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#permissions(List.) - Parameters:
permissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#permissions(java.util.Collection)
-
sourceEntity
CreateTemplateRequest.Builder sourceEntity(TemplateSourceEntity sourceEntity)
The entity that you are using as a source when you create 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.Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Parameters:
sourceEntity- The entity that you are using as a source when you create 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 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.Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEntity
default CreateTemplateRequest.Builder sourceEntity(Consumer<TemplateSourceEntity.Builder> sourceEntity)
The entity that you are using as a source when you create 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.Either a
This is a convenience method that creates an instance of theSourceEntityor aDefinitionmust be provided in order for the request to be valid.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)
-
tags
CreateTemplateRequest.Builder tags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTemplateRequest.Builder tags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTemplateRequest.Builder tags(Consumer<Tag.Builder>... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
versionDescription
CreateTemplateRequest.Builder versionDescription(String versionDescription)
A description of the current template version being created. This API operation creates the first version of the template. Every time
UpdateTemplateis called, a new version is created. Each version of the template maintains a description of the version in theVersionDescriptionfield.- Parameters:
versionDescription- A description of the current template version being created. This API operation creates the first version of the template. Every timeUpdateTemplateis called, a new version is created. 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.
-
definition
CreateTemplateRequest.Builder definition(TemplateVersionDefinition definition)
The definition of a template.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Parameters:
definition- The definition of a template.A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default CreateTemplateRequest.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.
Either a
This is a convenience method that creates an instance of theSourceEntityor aDefinitionmust be provided in order for the request to be valid.TemplateVersionDefinition.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
CreateTemplateRequest.Builder validationStrategy(ValidationStrategy validationStrategy)
TThe option to relax the validation needed to create a template with definition objects. This skips the validation step for specific errors.
- Parameters:
validationStrategy- TThe option to relax the validation needed to create 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 CreateTemplateRequest.Builder validationStrategy(Consumer<ValidationStrategy.Builder> validationStrategy)
TThe option to relax the validation needed to create 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
CreateTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-