public static interface SamplingRuleUpdate.Builder extends SdkPojo, CopyableBuilder<SamplingRuleUpdate.Builder,SamplingRuleUpdate>
Modifier and Type | Method and Description |
---|---|
SamplingRuleUpdate.Builder |
attributes(Map<String,String> attributes)
Matches attributes derived from the request.
|
SamplingRuleUpdate.Builder |
fixedRate(Double fixedRate)
The percentage of matching requests to instrument, after the reservoir is exhausted.
|
SamplingRuleUpdate.Builder |
host(String host)
Matches the hostname from a request URL.
|
SamplingRuleUpdate.Builder |
httpMethod(String httpMethod)
Matches the HTTP method of a request.
|
SamplingRuleUpdate.Builder |
priority(Integer priority)
The priority of the sampling rule.
|
SamplingRuleUpdate.Builder |
reservoirSize(Integer reservoirSize)
A fixed number of matching requests to instrument per second, prior to applying the fixed rate.
|
SamplingRuleUpdate.Builder |
resourceARN(String resourceARN)
Matches the ARN of the AWS resource on which the service runs.
|
SamplingRuleUpdate.Builder |
ruleARN(String ruleARN)
The ARN of the sampling rule.
|
SamplingRuleUpdate.Builder |
ruleName(String ruleName)
The name of the sampling rule.
|
SamplingRuleUpdate.Builder |
serviceName(String serviceName)
Matches the
name that the service uses to identify itself in segments. |
SamplingRuleUpdate.Builder |
serviceType(String serviceType)
Matches the
origin that the service uses to identify its type in segments. |
SamplingRuleUpdate.Builder |
urlPath(String urlPath)
Matches the path from a request URL.
|
copy
applyMutation, build
SamplingRuleUpdate.Builder ruleName(String ruleName)
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
ruleName
- The name of the sampling rule. Specify a rule by either name or ARN, but not both.SamplingRuleUpdate.Builder ruleARN(String ruleARN)
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
ruleARN
- The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.SamplingRuleUpdate.Builder resourceARN(String resourceARN)
Matches the ARN of the AWS resource on which the service runs.
resourceARN
- Matches the ARN of the AWS resource on which the service runs.SamplingRuleUpdate.Builder priority(Integer priority)
The priority of the sampling rule.
priority
- The priority of the sampling rule.SamplingRuleUpdate.Builder fixedRate(Double fixedRate)
The percentage of matching requests to instrument, after the reservoir is exhausted.
fixedRate
- The percentage of matching requests to instrument, after the reservoir is exhausted.SamplingRuleUpdate.Builder reservoirSize(Integer reservoirSize)
A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.
reservoirSize
- A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The
reservoir is not used directly by services, but applies to all services using the rule collectively.SamplingRuleUpdate.Builder host(String host)
Matches the hostname from a request URL.
host
- Matches the hostname from a request URL.SamplingRuleUpdate.Builder serviceName(String serviceName)
Matches the name
that the service uses to identify itself in segments.
serviceName
- Matches the name
that the service uses to identify itself in segments.SamplingRuleUpdate.Builder serviceType(String serviceType)
Matches the origin
that the service uses to identify its type in segments.
serviceType
- Matches the origin
that the service uses to identify its type in segments.SamplingRuleUpdate.Builder httpMethod(String httpMethod)
Matches the HTTP method of a request.
httpMethod
- Matches the HTTP method of a request.SamplingRuleUpdate.Builder urlPath(String urlPath)
Matches the path from a request URL.
urlPath
- Matches the path from a request URL.SamplingRuleUpdate.Builder attributes(Map<String,String> attributes)
Matches attributes derived from the request.
attributes
- Matches attributes derived from the request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.