public static interface CfnContainer.MetricPolicyRuleProperty
Each rule contains an object group and an object group name. If the policy includes the MetricPolicyRules parameter, you must include at least one rule. Each metric policy can include up to five rules by default. You can also request a quota increase to allow up to 300 rules per policy.
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.mediastore.*; MetricPolicyRuleProperty metricPolicyRuleProperty = MetricPolicyRuleProperty.builder() .objectGroup("objectGroup") .objectGroupName("objectGroupName") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnContainer.MetricPolicyRuleProperty.Builder
A builder for
CfnContainer.MetricPolicyRuleProperty |
static class |
CfnContainer.MetricPolicyRuleProperty.Jsii$Proxy
An implementation for
CfnContainer.MetricPolicyRuleProperty |
Modifier and Type | Method and Description |
---|---|
static CfnContainer.MetricPolicyRuleProperty.Builder |
builder() |
java.lang.String |
getObjectGroup()
A path or file name that defines which objects to include in the group.
|
java.lang.String |
getObjectGroupName()
A name that allows you to refer to the object group.
|
java.lang.String getObjectGroup()
Wildcards (*) are acceptable.
java.lang.String getObjectGroupName()
static CfnContainer.MetricPolicyRuleProperty.Builder builder()