@Stability(value=Stable)
public static interface CfnEndpoint.TrafficRoutingConfigProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
TrafficRoutingConfigProperty trafficRoutingConfigProperty = TrafficRoutingConfigProperty.builder()
.type("type")
// the properties below are optional
.canarySize(CapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.linearStepSize(CapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.waitIntervalInSeconds(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpoint.TrafficRoutingConfigProperty.Builder
A builder for
CfnEndpoint.TrafficRoutingConfigProperty |
static class |
CfnEndpoint.TrafficRoutingConfigProperty.Jsii$Proxy
An implementation for
CfnEndpoint.TrafficRoutingConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpoint.TrafficRoutingConfigProperty.Builder |
builder() |
default Object |
getCanarySize()
`CfnEndpoint.TrafficRoutingConfigProperty.CanarySize`.
|
default Object |
getLinearStepSize()
`CfnEndpoint.TrafficRoutingConfigProperty.LinearStepSize`.
|
String |
getType()
`CfnEndpoint.TrafficRoutingConfigProperty.Type`.
|
default Number |
getWaitIntervalInSeconds()
`CfnEndpoint.TrafficRoutingConfigProperty.WaitIntervalInSeconds`.
|
@Stability(value=Stable) @Nullable default Object getCanarySize()
@Stability(value=Stable) @Nullable default Object getLinearStepSize()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default Number getWaitIntervalInSeconds()
@Stability(value=Stable) static CfnEndpoint.TrafficRoutingConfigProperty.Builder builder()
Copyright © 2021. All rights reserved.