@Stability(value=Stable)
public static interface CfnAlias.RoutingStrategyProperty
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.gamelift.*;
RoutingStrategyProperty routingStrategyProperty = RoutingStrategyProperty.builder()
.type("type")
// the properties below are optional
.fleetId("fleetId")
.message("message")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAlias.RoutingStrategyProperty.Builder
A builder for
CfnAlias.RoutingStrategyProperty |
static class |
CfnAlias.RoutingStrategyProperty.Jsii$Proxy
An implementation for
CfnAlias.RoutingStrategyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAlias.RoutingStrategyProperty.Builder |
builder() |
default String |
getFleetId()
A unique identifier for a fleet that the alias points to.
|
default String |
getMessage()
The message text to be used with a terminal routing strategy.
|
String |
getType()
A type of routing strategy.
|
@Stability(value=Stable) @NotNull String getType()
Possible routing types include the following:
TerminalRoutingStrategyException with the message that you specified in the Message property.@Stability(value=Stable) @Nullable default String getFleetId()
If you specify SIMPLE for the Type property, you must specify this property.
@Stability(value=Stable) @Nullable default String getMessage()
If you specify TERMINAL for the Type property, you must specify this property.
@Stability(value=Stable) static CfnAlias.RoutingStrategyProperty.Builder builder()
Copyright © 2022. All rights reserved.