Interface MalwareProtectionPlanActions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MalwareProtectionPlanActions.Builder,MalwareProtectionPlanActions>,SdkBuilder<MalwareProtectionPlanActions.Builder,MalwareProtectionPlanActions>,SdkPojo
- Enclosing class:
- MalwareProtectionPlanActions
public static interface MalwareProtectionPlanActions.Builder extends SdkPojo, CopyableBuilder<MalwareProtectionPlanActions.Builder,MalwareProtectionPlanActions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MalwareProtectionPlanActions.Buildertagging(Consumer<MalwareProtectionPlanTaggingAction.Builder> tagging)Indicates whether the scanned S3 object will have tags about the scan result.MalwareProtectionPlanActions.Buildertagging(MalwareProtectionPlanTaggingAction tagging)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, sdkFields
-
-
-
-
Method Detail
-
tagging
MalwareProtectionPlanActions.Builder tagging(MalwareProtectionPlanTaggingAction 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.Builderavoiding the need to create one manually viaMalwareProtectionPlanTaggingAction.builder().When the
Consumercompletes,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:
tagging(MalwareProtectionPlanTaggingAction)
-
-