public UpdateMalwareProtectionPlanRequest withRole(String role) {
        setRole(role);
        return this;
    }
<p>
IAM role with permissions required to scan and add tags to the associated protected resource.
</p>

@param role
       IAM role with permissions required to scan and add tags to the associated protected resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/UpdateMalwareProtectionPlanRequest.java