Class MalwareProtectionPlanReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.guardduty.MalwareProtectionPlanReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MalwareProtectionPlanReference>
- Enclosing interface:
MalwareProtectionPlanReference
@Stability(Stable)
public static final class MalwareProtectionPlanReference.Builder
extends Object
implements software.amazon.jsii.Builder<MalwareProtectionPlanReference>
A builder for
MalwareProtectionPlanReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.malwareProtectionPlanArn(String malwareProtectionPlanArn) Sets the value ofMalwareProtectionPlanReference.getMalwareProtectionPlanArn()malwareProtectionPlanId(String malwareProtectionPlanId) Sets the value ofMalwareProtectionPlanReference.getMalwareProtectionPlanId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
malwareProtectionPlanArn
@Stability(Stable) public MalwareProtectionPlanReference.Builder malwareProtectionPlanArn(String malwareProtectionPlanArn) Sets the value ofMalwareProtectionPlanReference.getMalwareProtectionPlanArn()- Parameters:
malwareProtectionPlanArn- The ARN of the MalwareProtectionPlan resource. This parameter is required.- Returns:
this
-
malwareProtectionPlanId
@Stability(Stable) public MalwareProtectionPlanReference.Builder malwareProtectionPlanId(String malwareProtectionPlanId) Sets the value ofMalwareProtectionPlanReference.getMalwareProtectionPlanId()- Parameters:
malwareProtectionPlanId- The MalwareProtectionPlanId of the MalwareProtectionPlan resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MalwareProtectionPlanReference>- Returns:
- a new instance of
MalwareProtectionPlanReference - Throws:
NullPointerException- if any required attribute was not provided
-