@Stability(value=Stable)
public static interface CfnApplication.LogPatternProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationinsights.*;
LogPatternProperty logPatternProperty = LogPatternProperty.builder()
.pattern("pattern")
.patternName("patternName")
.rank(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplication.LogPatternProperty.Builder
A builder for
CfnApplication.LogPatternProperty |
static class |
CfnApplication.LogPatternProperty.Jsii$Proxy
An implementation for
CfnApplication.LogPatternProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplication.LogPatternProperty.Builder |
builder() |
String |
getPattern()
A regular expression that defines the log pattern.
|
String |
getPatternName()
The name of the log pattern.
|
Number |
getRank()
The rank of the log pattern.
|
@Stability(value=Stable) @NotNull String getPattern()
A log pattern can contain up to 50 characters, and it cannot be empty.
@Stability(value=Stable) @NotNull String getPatternName()
A log pattern name can contain up to 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
@Stability(value=Stable) @NotNull Number getRank()
@Stability(value=Stable) static CfnApplication.LogPatternProperty.Builder builder()
Copyright © 2022. All rights reserved.