Interface Scope.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Scope.Builder,Scope>,SdkBuilder<Scope.Builder,Scope>,SdkPojo
- Enclosing class:
- Scope
public static interface Scope.Builder extends SdkPojo, CopyableBuilder<Scope.Builder,Scope>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Scope.BuildercomplianceResourceId(String complianceResourceId)The ID of the only Amazon Web Services resource that you want to trigger an evaluation for the rule.Scope.BuildercomplianceResourceTypes(String... complianceResourceTypes)The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule.Scope.BuildercomplianceResourceTypes(Collection<String> complianceResourceTypes)The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule.Scope.BuildertagKey(String tagKey)The tag key that is applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule.Scope.BuildertagValue(String tagValue)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 Detail
-
complianceResourceTypes
Scope.Builder complianceResourceTypes(Collection<String> 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
Scope.Builder complianceResourceTypes(String... 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
Scope.Builder tagKey(String 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
Scope.Builder tagValue(String 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
Scope.Builder complianceResourceId(String 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.
-
-