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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ControlScope.BuildercomplianceResourceIds(String... complianceResourceIds)The ID of the only Amazon Web Services resource that you want your control scope to contain.ControlScope.BuildercomplianceResourceIds(Collection<String> complianceResourceIds)The ID of the only Amazon Web Services resource that you want your control scope to contain.ControlScope.BuildercomplianceResourceTypes(String... complianceResourceTypes)Describes whether the control scope includes one or more types of resources, such asEFSorRDS.ControlScope.BuildercomplianceResourceTypes(Collection<String> complianceResourceTypes)Describes whether the control scope includes one or more types of resources, such asEFSorRDS.ControlScope.Buildertags(Map<String,String> tags)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 Detail
-
complianceResourceIds
ControlScope.Builder complianceResourceIds(Collection<String> 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
ControlScope.Builder complianceResourceIds(String... 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
ControlScope.Builder complianceResourceTypes(Collection<String> complianceResourceTypes)
Describes whether the control scope includes one or more types of resources, such as
EFSorRDS.- Parameters:
complianceResourceTypes- Describes whether the control scope includes one or more types of resources, such asEFSorRDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
complianceResourceTypes
ControlScope.Builder complianceResourceTypes(String... complianceResourceTypes)
Describes whether the control scope includes one or more types of resources, such as
EFSorRDS.- Parameters:
complianceResourceTypes- Describes whether the control scope includes one or more types of resources, such asEFSorRDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ControlScope.Builder tags(Map<String,String> 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.
-
-