Interface ControlScope.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ControlScope.Builder,
,ControlScope> SdkBuilder<ControlScope.Builder,
,ControlScope> SdkPojo
- Enclosing class:
ControlScope
public static interface ControlScope.Builder
extends SdkPojo, CopyableBuilder<ControlScope.Builder,ControlScope>
-
Method Summary
Modifier and TypeMethodDescriptioncomplianceResourceIds
(String... complianceResourceIds) The ID of the only Amazon Web Services resource that you want your control scope to contain.complianceResourceIds
(Collection<String> complianceResourceIds) The ID of the only Amazon Web Services resource that you want your control scope to contain.complianceResourceTypes
(String... complianceResourceTypes) Describes whether the control scope includes one or more types of resources, such asEFS
orRDS
.complianceResourceTypes
(Collection<String> complianceResourceTypes) Describes whether the control scope includes one or more types of resources, such asEFS
orRDS
.The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an evaluation for a 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
-
complianceResourceIds
The ID of the only Amazon Web Services resource that you want your control scope to contain.
- Parameters:
complianceResourceIds
- The ID of the only Amazon Web Services resource that you want your control scope to contain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceResourceIds
The ID of the only Amazon Web Services resource that you want your control scope to contain.
- Parameters:
complianceResourceIds
- The ID of the only Amazon Web Services resource that you want your control scope to contain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceResourceTypes
Describes whether the control scope includes one or more types of resources, such as
EFS
orRDS
.- Parameters:
complianceResourceTypes
- Describes whether the control scope includes one or more types of resources, such asEFS
orRDS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceResourceTypes
Describes whether the control scope includes one or more types of resources, such as
EFS
orRDS
.- Parameters:
complianceResourceTypes
- Describes whether the control scope includes one or more types of resources, such asEFS
orRDS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty string. The structure to assign a tag is:
[{"Key":"string","Value":"string"}]
.- Parameters:
tags
- The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty string. The structure to assign a tag is:[{"Key":"string","Value":"string"}]
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-