Interface CustomPattern.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomPattern.Builder,CustomPattern>,SdkBuilder<CustomPattern.Builder,CustomPattern>,SdkPojo
- Enclosing class:
- CustomPattern
public static interface CustomPattern.Builder extends SdkPojo, CopyableBuilder<CustomPattern.Builder,CustomPattern>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomPattern.BuilderkeywordRegex(String keywordRegex)The keyword regex for the customer pattern.CustomPattern.BuilderpatternDescription(String patternDescription)The pattern description for the customer pattern.CustomPattern.BuilderpatternName(String patternName)The pattern name for the custom pattern.CustomPattern.BuilderpatternRegex(String patternRegex)The pattern regex for the customer pattern.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
keywordRegex
CustomPattern.Builder keywordRegex(String keywordRegex)
The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”
- Parameters:
keywordRegex- The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patternDescription
CustomPattern.Builder patternDescription(String patternDescription)
The pattern description for the customer pattern.
- Parameters:
patternDescription- The pattern description for the customer pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patternName
CustomPattern.Builder patternName(String patternName)
The pattern name for the custom pattern.
- Parameters:
patternName- The pattern name for the custom pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patternRegex
CustomPattern.Builder patternRegex(String patternRegex)
The pattern regex for the customer pattern. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.
- Parameters:
patternRegex- The pattern regex for the customer pattern. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-