@Generated(value="software.amazon.awssdk:codegen") public final class SamplingRuleUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SamplingRuleUpdate.Builder,SamplingRuleUpdate>
A document specifying changes to a sampling rule's configuration.
Modifier and Type | Class and Description |
---|---|
static interface |
SamplingRuleUpdate.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
attributes()
Matches attributes derived from the request.
|
static SamplingRuleUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
Double |
fixedRate()
The percentage of matching requests to instrument, after the reservoir is exhausted.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
host()
Matches the hostname from a request URL.
|
String |
httpMethod()
Matches the HTTP method of a request.
|
Integer |
priority()
The priority of the sampling rule.
|
Integer |
reservoirSize()
A fixed number of matching requests to instrument per second, prior to applying the fixed rate.
|
String |
resourceARN()
Matches the ARN of the AWS resource on which the service runs.
|
String |
ruleARN()
The ARN of the sampling rule.
|
String |
ruleName()
The name of the sampling rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SamplingRuleUpdate.Builder> |
serializableBuilderClass() |
String |
serviceName()
Matches the
name that the service uses to identify itself in segments. |
String |
serviceType()
Matches the
origin that the service uses to identify its type in segments. |
SamplingRuleUpdate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
urlPath()
Matches the path from a request URL.
|
copy
public String ruleName()
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
public String ruleARN()
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
public String resourceARN()
Matches the ARN of the AWS resource on which the service runs.
public Integer priority()
The priority of the sampling rule.
public Double fixedRate()
The percentage of matching requests to instrument, after the reservoir is exhausted.
public 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.
public String host()
Matches the hostname from a request URL.
public String serviceName()
Matches the name
that the service uses to identify itself in segments.
name
that the service uses to identify itself in segments.public String serviceType()
Matches the origin
that the service uses to identify its type in segments.
origin
that the service uses to identify its type in segments.public String httpMethod()
Matches the HTTP method of a request.
public String urlPath()
Matches the path from a request URL.
public Map<String,String> attributes()
Matches attributes derived from the request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public SamplingRuleUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SamplingRuleUpdate.Builder,SamplingRuleUpdate>
public static SamplingRuleUpdate.Builder builder()
public static Class<? extends SamplingRuleUpdate.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.