Interface MalwareProtectionPlanActions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MalwareProtectionPlanActions.Builder,
,MalwareProtectionPlanActions> SdkBuilder<MalwareProtectionPlanActions.Builder,
,MalwareProtectionPlanActions> SdkPojo
- Enclosing class:
MalwareProtectionPlanActions
@Mutable
@NotThreadSafe
public static interface MalwareProtectionPlanActions.Builder
extends SdkPojo, CopyableBuilder<MalwareProtectionPlanActions.Builder,MalwareProtectionPlanActions>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether the scanned S3 object will have tags about the scan result.Indicates whether the scanned S3 object will have tags about the scan result.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, sdkFieldNameToField, sdkFields
-
Method Details
-
tagging
Indicates whether the scanned S3 object will have tags about the scan result.
- Parameters:
tagging
- Indicates whether the scanned S3 object will have tags about the scan result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagging
default MalwareProtectionPlanActions.Builder tagging(Consumer<MalwareProtectionPlanTaggingAction.Builder> tagging) Indicates whether the scanned S3 object will have tags about the scan result.
This is a convenience method that creates an instance of theMalwareProtectionPlanTaggingAction.Builder
avoiding the need to create one manually viaMalwareProtectionPlanTaggingAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagging(MalwareProtectionPlanTaggingAction)
.- Parameters:
tagging
- a consumer that will call methods onMalwareProtectionPlanTaggingAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-