public static interface ManagedRule.Builder extends SdkPojo, CopyableBuilder<ManagedRule.Builder,ManagedRule>
Modifier and Type | Method and Description |
---|---|
ManagedRule.Builder |
resourceARN(String resourceARN)
The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
|
ManagedRule.Builder |
tags(Collection<Tag> tags)
A list of key-value pairs that you can associate with a managed Contributor Insights rule.
|
ManagedRule.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that you can associate with a managed Contributor Insights rule.
|
ManagedRule.Builder |
tags(Tag... tags)
A list of key-value pairs that you can associate with a managed Contributor Insights rule.
|
ManagedRule.Builder |
templateName(String templateName)
The template name for the managed Contributor Insights rule, as returned by
ListManagedInsightRules . |
equalsBySdkFields, sdkFields
copy
applyMutation, build
ManagedRule.Builder templateName(String templateName)
The template name for the managed Contributor Insights rule, as returned by
ListManagedInsightRules
.
templateName
- The template name for the managed Contributor Insights rule, as returned by
ListManagedInsightRules
.ManagedRule.Builder resourceARN(String resourceARN)
The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
resourceARN
- The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.ManagedRule.Builder tags(Collection<Tag> tags)
A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can associate
as many as 50 tags with a rule. Tags can help you organize and categorize your resources. You also can use
them to scope user permissions by granting a user permission to access or change only the resources that have
certain tag values. To associate tags with a rule, you must have the cloudwatch:TagResource
permission in addition to the cloudwatch:PutInsightRule
permission. If you are using this
operation to update an existing Contributor Insights rule, any tags that you specify in this parameter are
ignored. To change the tags of an existing rule, use TagResource
.
tags
- A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can
associate as many as 50 tags with a rule. Tags can help you organize and categorize your resources.
You also can use them to scope user permissions by granting a user permission to access or change only
the resources that have certain tag values. To associate tags with a rule, you must have the
cloudwatch:TagResource
permission in addition to the
cloudwatch:PutInsightRule
permission. If you are using this operation to update an
existing Contributor Insights rule, any tags that you specify in this parameter are ignored. To change
the tags of an existing rule, use TagResource
.ManagedRule.Builder tags(Tag... tags)
A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can associate
as many as 50 tags with a rule. Tags can help you organize and categorize your resources. You also can use
them to scope user permissions by granting a user permission to access or change only the resources that have
certain tag values. To associate tags with a rule, you must have the cloudwatch:TagResource
permission in addition to the cloudwatch:PutInsightRule
permission. If you are using this
operation to update an existing Contributor Insights rule, any tags that you specify in this parameter are
ignored. To change the tags of an existing rule, use TagResource
.
tags
- A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can
associate as many as 50 tags with a rule. Tags can help you organize and categorize your resources.
You also can use them to scope user permissions by granting a user permission to access or change only
the resources that have certain tag values. To associate tags with a rule, you must have the
cloudwatch:TagResource
permission in addition to the
cloudwatch:PutInsightRule
permission. If you are using this operation to update an
existing Contributor Insights rule, any tags that you specify in this parameter are ignored. To change
the tags of an existing rule, use TagResource
.ManagedRule.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can associate
as many as 50 tags with a rule. Tags can help you organize and categorize your resources. You also can use
them to scope user permissions by granting a user permission to access or change only the resources that have
certain tag values. To associate tags with a rule, you must have the cloudwatch:TagResource
permission in addition to the cloudwatch:PutInsightRule
permission. If you are using this
operation to update an existing Contributor Insights rule, any tags that you specify in this parameter are
ignored. To change the tags of an existing rule, use TagResource
.
Tag.Builder
avoiding the need to create one manually
via Tag.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #tags(List
.
tags
- a consumer that will call methods on
Tag.Builder
#tags(java.util.Collection)
Copyright © 2022. All rights reserved.