@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:08.287Z") @Stability(value=Stable) public interface CfnSamplingRuleProps 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.*;
Object tags;
CfnSamplingRuleProps cfnSamplingRuleProps = CfnSamplingRuleProps.builder()
.ruleName("ruleName")
.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())
.samplingRuleRecord(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())
.samplingRuleUpdate(SamplingRuleUpdateProperty.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")
.build())
.tags(List.of(tags))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSamplingRuleProps.Builder
A builder for
CfnSamplingRuleProps |
static class |
CfnSamplingRuleProps.Jsii$Proxy
An implementation for
CfnSamplingRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSamplingRuleProps.Builder |
builder() |
default String |
getRuleName()
`AWS::XRay::SamplingRule.RuleName`.
|
default Object |
getSamplingRule()
`AWS::XRay::SamplingRule.SamplingRule`.
|
default Object |
getSamplingRuleRecord()
`AWS::XRay::SamplingRule.SamplingRuleRecord`.
|
default Object |
getSamplingRuleUpdate()
`AWS::XRay::SamplingRule.SamplingRuleUpdate`.
|
default List<Object> |
getTags()
`AWS::XRay::SamplingRule.Tags`.
|
@Stability(value=Stable) @Nullable default String getRuleName()
@Stability(value=Stable) @Nullable default Object getSamplingRule()
@Stability(value=Stable) @Nullable default Object getSamplingRuleRecord()
@Stability(value=Stable) @Nullable default Object getSamplingRuleUpdate()
@Stability(value=Stable) @Nullable default List<Object> getTags()
@Stability(value=Stable) static CfnSamplingRuleProps.Builder builder()
CfnSamplingRuleProps.Builder of CfnSamplingRulePropsCopyright © 2021. All rights reserved.