Interface UpdateMalwareProtectionPlanRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMalwareProtectionPlanRequest.Builder,UpdateMalwareProtectionPlanRequest>,GuardDutyRequest.Builder,SdkBuilder<UpdateMalwareProtectionPlanRequest.Builder,UpdateMalwareProtectionPlanRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateMalwareProtectionPlanRequest
public static interface UpdateMalwareProtectionPlanRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<UpdateMalwareProtectionPlanRequest.Builder,UpdateMalwareProtectionPlanRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateMalwareProtectionPlanRequest.Builderactions(Consumer<MalwareProtectionPlanActions.Builder> actions)Information about whether the tags will be added to the S3 object after scanning.UpdateMalwareProtectionPlanRequest.Builderactions(MalwareProtectionPlanActions actions)Information about whether the tags will be added to the S3 object after scanning.UpdateMalwareProtectionPlanRequest.BuildermalwareProtectionPlanId(String malwareProtectionPlanId)A unique identifier associated with the Malware Protection plan.UpdateMalwareProtectionPlanRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateMalwareProtectionPlanRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateMalwareProtectionPlanRequest.BuilderprotectedResource(Consumer<UpdateProtectedResource.Builder> protectedResource)Information about the protected resource that is associated with the created Malware Protection plan.UpdateMalwareProtectionPlanRequest.BuilderprotectedResource(UpdateProtectedResource protectedResource)Information about the protected resource that is associated with the created Malware Protection plan.UpdateMalwareProtectionPlanRequest.Builderrole(String role)IAM role with permissions required 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, sdkFields
-
-
-
-
Method Detail
-
malwareProtectionPlanId
UpdateMalwareProtectionPlanRequest.Builder malwareProtectionPlanId(String 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
UpdateMalwareProtectionPlanRequest.Builder role(String role)
IAM role with permissions required to scan and add tags to the associated protected resource.
- Parameters:
role- IAM role with permissions required 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
UpdateMalwareProtectionPlanRequest.Builder actions(MalwareProtectionPlanActions 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:
actions(MalwareProtectionPlanActions)
-
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:
protectedResource(UpdateProtectedResource)
-
overrideConfiguration
UpdateMalwareProtectionPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateMalwareProtectionPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-