@Stability(value=Stable)
public static interface CfnRoute.HeaderMatchMethodProperty
extends software.amazon.jsii.JsiiSerializable
Specify one match method.
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.appmesh.*;
HeaderMatchMethodProperty headerMatchMethodProperty = HeaderMatchMethodProperty.builder()
.exact("exact")
.prefix("prefix")
.range(MatchRangeProperty.builder()
.end(123)
.start(123)
.build())
.regex("regex")
.suffix("suffix")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRoute.HeaderMatchMethodProperty.Builder
A builder for
CfnRoute.HeaderMatchMethodProperty |
static class |
CfnRoute.HeaderMatchMethodProperty.Jsii$Proxy
An implementation for
CfnRoute.HeaderMatchMethodProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRoute.HeaderMatchMethodProperty.Builder |
builder() |
default String |
getExact()
The value sent by the client must match the specified value exactly.
|
default String |
getPrefix()
The value sent by the client must begin with the specified characters.
|
default Object |
getRange()
An object that represents the range of values to match on.
|
default String |
getRegex()
The value sent by the client must include the specified characters.
|
default String |
getSuffix()
The value sent by the client must end with the specified characters.
|
@Stability(value=Stable) @Nullable default String getExact()
@Stability(value=Stable) @Nullable default String getPrefix()
@Stability(value=Stable) @Nullable default Object getRange()
@Stability(value=Stable) @Nullable default String getRegex()
@Stability(value=Stable) @Nullable default String getSuffix()
@Stability(value=Stable) static CfnRoute.HeaderMatchMethodProperty.Builder builder()
Copyright © 2022. All rights reserved.