Interface LimitsPerLabelSet.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LimitsPerLabelSet.Builder,,LimitsPerLabelSet> SdkBuilder<LimitsPerLabelSet.Builder,,LimitsPerLabelSet> SdkPojo
- Enclosing class:
LimitsPerLabelSet
-
Method Summary
Modifier and TypeMethodDescriptionThis defines one label set that will have an enforced active time series limit.default LimitsPerLabelSet.Builderlimits(Consumer<LimitsPerLabelSetEntry.Builder> limits) This structure contains the information about the limits that apply to time series that match this label set.limits(LimitsPerLabelSetEntry limits) This structure contains the information about the limits that apply to time series that match this label set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
limits
This structure contains the information about the limits that apply to time series that match this label set.
- Parameters:
limits- This structure contains the information about the limits that apply to time series that match this label set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limits
This structure contains the information about the limits that apply to time series that match this label set.
This is a convenience method that creates an instance of theLimitsPerLabelSetEntry.Builderavoiding the need to create one manually viaLimitsPerLabelSetEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolimits(LimitsPerLabelSetEntry).- Parameters:
limits- a consumer that will call methods onLimitsPerLabelSetEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
labelSet
This defines one label set that will have an enforced active time series limit.
Label values accept ASCII characters and must contain at least one character that isn't whitespace. ASCII control characters are not accepted. If the label name is metric name label
__name__, then the metric part of the name must conform to the following pattern:[a-zA-Z_:][a-zA-Z0-9_:]*- Parameters:
labelSet- This defines one label set that will have an enforced active time series limit.Label values accept ASCII characters and must contain at least one character that isn't whitespace. ASCII control characters are not accepted. If the label name is metric name label
__name__, then the metric part of the name must conform to the following pattern:[a-zA-Z_:][a-zA-Z0-9_:]*- Returns:
- Returns a reference to this object so that method calls can be chained together.
-