Class CfnApplication.LogPatternSetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.applicationinsights.CfnApplication.LogPatternSetProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnApplication.LogPatternSetProperty>
- Enclosing interface:
- CfnApplication.LogPatternSetProperty
@Stability(Stable)
public static final class CfnApplication.LogPatternSetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.LogPatternSetProperty>
A builder for 
CfnApplication.LogPatternSetProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.logPatterns(List<? extends Object> logPatterns) Sets the value ofCfnApplication.LogPatternSetProperty.getLogPatterns()logPatterns(IResolvable logPatterns) Sets the value ofCfnApplication.LogPatternSetProperty.getLogPatterns()patternSetName(String patternSetName) Sets the value ofCfnApplication.LogPatternSetProperty.getPatternSetName()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
logPatterns@Stability(Stable) public CfnApplication.LogPatternSetProperty.Builder logPatterns(IResolvable logPatterns) Sets the value ofCfnApplication.LogPatternSetProperty.getLogPatterns()- Parameters:
- logPatterns- A list of objects that define the log patterns that belong to- LogPatternSet. This parameter is required.
- Returns:
- this
 
- 
logPatterns@Stability(Stable) public CfnApplication.LogPatternSetProperty.Builder logPatterns(List<? extends Object> logPatterns) Sets the value ofCfnApplication.LogPatternSetProperty.getLogPatterns()- Parameters:
- logPatterns- A list of objects that define the log patterns that belong to- LogPatternSet. This parameter is required.
- Returns:
- this
 
- 
patternSetName@Stability(Stable) public CfnApplication.LogPatternSetProperty.Builder patternSetName(String patternSetName) Sets the value ofCfnApplication.LogPatternSetProperty.getPatternSetName()- Parameters:
- patternSetName- The name of the log pattern. This parameter is required. A log pattern name can contain up to 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnApplication.LogPatternSetProperty>
- Returns:
- a new instance of CfnApplication.LogPatternSetProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-