public static interface Scope.Builder extends CopyableBuilder<Scope.Builder,Scope>
Modifier and Type | Method and Description |
---|---|
Scope.Builder |
complianceResourceId(String complianceResourceId)
The IDs of the only AWS resource that you want to trigger an evaluation for the rule.
|
Scope.Builder |
complianceResourceTypes(Collection<String> complianceResourceTypes)
The resource types of only those AWS resources that you want to trigger an evaluation for the rule.
|
Scope.Builder |
complianceResourceTypes(String... complianceResourceTypes)
The resource types of only those AWS resources that you want to trigger an evaluation for the rule.
|
Scope.Builder |
tagKey(String tagKey)
The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.
|
Scope.Builder |
tagValue(String tagValue)
The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule.
|
copy
applyMutation, build
Scope.Builder complianceResourceTypes(Collection<String> complianceResourceTypes)
The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can
only specify one type if you also specify a resource ID for ComplianceResourceId
.
complianceResourceTypes
- The resource types of only those AWS resources that you want to trigger an evaluation for the rule.
You can only specify one type if you also specify a resource ID for ComplianceResourceId
.Scope.Builder complianceResourceTypes(String... complianceResourceTypes)
The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can
only specify one type if you also specify a resource ID for ComplianceResourceId
.
complianceResourceTypes
- The resource types of only those AWS resources that you want to trigger an evaluation for the rule.
You can only specify one type if you also specify a resource ID for ComplianceResourceId
.Scope.Builder tagKey(String tagKey)
The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.
tagKey
- The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the
rule.Scope.Builder tagValue(String tagValue)
The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you
specify a value for TagValue
, you must also specify a value for TagKey
.
tagValue
- The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule.
If you specify a value for TagValue
, you must also specify a value for
TagKey
.Scope.Builder complianceResourceId(String complianceResourceId)
The IDs of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a
resource ID, you must specify one resource type for ComplianceResourceTypes
.
complianceResourceId
- The IDs of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a
resource ID, you must specify one resource type for ComplianceResourceTypes
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.