Interface Scope.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Scope.Builder,
,Scope> SdkBuilder<Scope.Builder,
,Scope> SdkPojo
- Enclosing class:
Scope
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceResourceId
(String complianceResourceId) The ID of the only Amazon Web Services resource that you want to trigger an evaluation for the rule.complianceResourceTypes
(String... complianceResourceTypes) The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule.complianceResourceTypes
(Collection<String> complianceResourceTypes) The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule.The tag key that is applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule.The tag value applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
complianceResourceTypes
The resource types of only those Amazon Web Services 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
.- Parameters:
complianceResourceTypes
- The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID forComplianceResourceId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceResourceTypes
The resource types of only those Amazon Web Services 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
.- Parameters:
complianceResourceTypes
- The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID forComplianceResourceId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagKey
The tag key that is applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule.
- Parameters:
tagKey
- The tag key that is applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagValue
The tag value applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule. If you specify a value for
TagValue
, you must also specify a value forTagKey
.- Parameters:
tagValue
- The tag value applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule. If you specify a value forTagValue
, you must also specify a value forTagKey
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceResourceId
The ID of the only Amazon Web Services 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
.- Parameters:
complianceResourceId
- The ID of the only Amazon Web Services resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type forComplianceResourceTypes
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-