Interface AmiScanModeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AmiScanModeConfiguration.Builder,,AmiScanModeConfiguration> SdkBuilder<AmiScanModeConfiguration.Builder,,AmiScanModeConfiguration> SdkPojo
- Enclosing class:
AmiScanModeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionexcludeBackupDlmAmis(Boolean excludeBackupDlmAmis) Whether to exclude AMIs created by Amazon Data Lifecycle Manager (DLM) backups from scanning.excludeCopiedAmis(Boolean excludeCopiedAmis) Whether to exclude AMIs that are copies of other AMIs from scanning.The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.scanMode(AmiScanMode scanMode) The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.tags(Collection<AmiTagFilter> tags) The tag filters used to select which AMIs are scanned when using targeted scanning.tags(Consumer<AmiTagFilter.Builder>... tags) The tag filters used to select which AMIs are scanned when using targeted scanning.tags(AmiTagFilter... tags) The tag filters used to select which AMIs are scanned when using targeted scanning.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
scanMode
The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.
- Parameters:
scanMode- The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanMode
The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.
- Parameters:
scanMode- The scan mode that determines whether all AMIs are scanned or only those matching the specified tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tag filters used to select which AMIs are scanned when using targeted scanning.
- Parameters:
tags- The tag filters used to select which AMIs are scanned when using targeted scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag filters used to select which AMIs are scanned when using targeted scanning.
- Parameters:
tags- The tag filters used to select which AMIs are scanned when using targeted scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag filters used to select which AMIs are scanned when using targeted scanning.
This is a convenience method that creates an instance of theAmiTagFilter.Builderavoiding the need to create one manually viaAmiTagFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<AmiTagFilter>).- Parameters:
tags- a consumer that will call methods onAmiTagFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludeCopiedAmis
Whether to exclude AMIs that are copies of other AMIs from scanning.
- Parameters:
excludeCopiedAmis- Whether to exclude AMIs that are copies of other AMIs from scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeBackupDlmAmis
Whether to exclude AMIs created by Amazon Data Lifecycle Manager (DLM) backups from scanning.
- Parameters:
excludeBackupDlmAmis- Whether to exclude AMIs created by Amazon Data Lifecycle Manager (DLM) backups from scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-