Class TemplateReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.quicksight.TemplateReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TemplateReference>
- Enclosing interface:
TemplateReference
@Stability(Stable)
public static final class TemplateReference.Builder
extends Object
implements software.amazon.jsii.Builder<TemplateReference>
A builder for
TemplateReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofTemplateReference.getAwsAccountId()build()Builds the configured instance.templateArn(String templateArn) Sets the value ofTemplateReference.getTemplateArn()templateId(String templateId) Sets the value ofTemplateReference.getTemplateId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofTemplateReference.getAwsAccountId()- Parameters:
awsAccountId- The AwsAccountId of the Template resource. This parameter is required.- Returns:
this
-
templateArn
Sets the value ofTemplateReference.getTemplateArn()- Parameters:
templateArn- The ARN of the Template resource. This parameter is required.- Returns:
this
-
templateId
Sets the value ofTemplateReference.getTemplateId()- Parameters:
templateId- The TemplateId of the Template resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TemplateReference>- Returns:
- a new instance of
TemplateReference - Throws:
NullPointerException- if any required attribute was not provided
-