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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaMalwareProtectionPlanActions.builder().When the
Consumercompletes,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,
S3Bucketis the only supported protected resource.- Parameters:
protectedResource- Information about the protected resource that is associated with the created Malware Protection plan. Presently,S3Bucketis 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 theS3Bucketis the only supported protected resource.UpdateProtectedResource.Builderavoiding the need to create one manually viaUpdateProtectedResource.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-