@Stability(value=Stable)
public static interface CfnSamplingRule.SamplingRuleRecordProperty
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.xray.*;
SamplingRuleRecordProperty samplingRuleRecordProperty = SamplingRuleRecordProperty.builder()
.createdAt("createdAt")
.modifiedAt("modifiedAt")
.samplingRule(SamplingRuleProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.fixedRate(123)
.host("host")
.httpMethod("httpMethod")
.priority(123)
.reservoirSize(123)
.resourceArn("resourceArn")
.ruleArn("ruleArn")
.ruleName("ruleName")
.serviceName("serviceName")
.serviceType("serviceType")
.urlPath("urlPath")
.version(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSamplingRule.SamplingRuleRecordProperty.Builder
A builder for
CfnSamplingRule.SamplingRuleRecordProperty |
static class |
CfnSamplingRule.SamplingRuleRecordProperty.Jsii$Proxy
An implementation for
CfnSamplingRule.SamplingRuleRecordProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSamplingRule.SamplingRuleRecordProperty.Builder |
builder() |
default String |
getCreatedAt()
When the rule was created, in Unix time seconds.
|
default String |
getModifiedAt()
When the rule was last modified, in Unix time seconds.
|
default Object |
getSamplingRule()
The sampling rule.
|
@Stability(value=Stable) @Nullable default String getCreatedAt()
@Stability(value=Stable) @Nullable default String getModifiedAt()
@Stability(value=Stable) @Nullable default Object getSamplingRule()
@Stability(value=Stable) static CfnSamplingRule.SamplingRuleRecordProperty.Builder builder()
Copyright © 2022. All rights reserved.