Interface UpdateMalwareProtectionPlanRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMalwareProtectionPlanRequest.Builder,
,UpdateMalwareProtectionPlanRequest> GuardDutyRequest.Builder
,SdkBuilder<UpdateMalwareProtectionPlanRequest.Builder,
,UpdateMalwareProtectionPlanRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateMalwareProtectionPlanRequest
-
Method Summary
Modifier and TypeMethodDescriptionInformation about whether the tags will be added to the S3 object after scanning.actions
(MalwareProtectionPlanActions actions) Information about whether the tags will be added to the S3 object after scanning.malwareProtectionPlanId
(String malwareProtectionPlanId) A unique identifier associated with the Malware Protection plan.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.protectedResource
(Consumer<UpdateProtectedResource.Builder> protectedResource) Information about the protected resource that is associated with the created Malware Protection plan.protectedResource
(UpdateProtectedResource protectedResource) Information about the protected resource that is associated with the created Malware Protection plan.Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
build
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
-
malwareProtectionPlanId
A unique identifier associated with the Malware Protection plan.
- Parameters:
malwareProtectionPlanId
- A unique identifier associated with the Malware Protection plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.
- Parameters:
role
- Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Information about whether the tags will be added to the S3 object after scanning.
- Parameters:
actions
- Information about whether the tags will be added to the S3 object after scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
default UpdateMalwareProtectionPlanRequest.Builder actions(Consumer<MalwareProtectionPlanActions.Builder> actions) Information about whether the tags will be added to the S3 object after scanning.
This is a convenience method that creates an instance of theMalwareProtectionPlanActions.Builder
avoiding the need to create one manually viaMalwareProtectionPlanActions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(MalwareProtectionPlanActions)
.- Parameters:
actions
- a consumer that will call methods onMalwareProtectionPlanActions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protectedResource
UpdateMalwareProtectionPlanRequest.Builder protectedResource(UpdateProtectedResource protectedResource) Information about the protected resource that is associated with the created Malware Protection plan. Presently,
S3Bucket
is the only supported protected resource.- Parameters:
protectedResource
- Information about the protected resource that is associated with the created Malware Protection plan. Presently,S3Bucket
is the only supported protected resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedResource
default UpdateMalwareProtectionPlanRequest.Builder protectedResource(Consumer<UpdateProtectedResource.Builder> protectedResource) Information about the protected resource that is associated with the created Malware Protection plan. Presently,
This is a convenience method that creates an instance of theS3Bucket
is the only supported protected resource.UpdateProtectedResource.Builder
avoiding the need to create one manually viaUpdateProtectedResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotectedResource(UpdateProtectedResource)
.- Parameters:
protectedResource
- a consumer that will call methods onUpdateProtectedResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMalwareProtectionPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMalwareProtectionPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-