Class CfnAnalysis.DataPathLabelTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.DataPathLabelTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.DataPathLabelTypeProperty>
- Enclosing interface:
CfnAnalysis.DataPathLabelTypeProperty
@Stability(Stable)
public static final class CfnAnalysis.DataPathLabelTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.DataPathLabelTypeProperty>
A builder for
CfnAnalysis.DataPathLabelTypeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAnalysis.DataPathLabelTypeProperty.getFieldId()
fieldValue
(String fieldValue) Sets the value ofCfnAnalysis.DataPathLabelTypeProperty.getFieldValue()
visibility
(String visibility) Sets the value ofCfnAnalysis.DataPathLabelTypeProperty.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldId
Sets the value ofCfnAnalysis.DataPathLabelTypeProperty.getFieldId()
- Parameters:
fieldId
- The field ID of the field that the data label needs to be applied to.- Returns:
this
-
fieldValue
@Stability(Stable) public CfnAnalysis.DataPathLabelTypeProperty.Builder fieldValue(String fieldValue) Sets the value ofCfnAnalysis.DataPathLabelTypeProperty.getFieldValue()
- Parameters:
fieldValue
- The actual value of the field that is labeled.- Returns:
this
-
visibility
@Stability(Stable) public CfnAnalysis.DataPathLabelTypeProperty.Builder visibility(String visibility) Sets the value ofCfnAnalysis.DataPathLabelTypeProperty.getVisibility()
- Parameters:
visibility
- The visibility of the data label.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.DataPathLabelTypeProperty>
- Returns:
- a new instance of
CfnAnalysis.DataPathLabelTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-